Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 892344 Details for
Bug 930992
sys-apps/portage-3.0.64: potential git noise when using ebuild(1)/emerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sync: git: add safe.directory for get head commit
file_930992.txt (text/plain), 1.03 KB, created by
Alex Xu (Hello71)
on 2024-05-06 12:51:01 UTC
(
hide
)
Description:
sync: git: add safe.directory for get head commit
Filename:
MIME Type:
Creator:
Alex Xu (Hello71)
Created:
2024-05-06 12:51:01 UTC
Size:
1.03 KB
patch
obsolete
>From d2e3ca6f031a821c0af68c6212cd82998f882416 Mon Sep 17 00:00:00 2001 >From: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca> >Date: Sun, 5 May 2024 16:24:52 -0400 >Subject: [PATCH] sync: git: add safe.directory for get head commit > >Closes: https://bugs.gentoo.org/930992 >Fixes: 1339a02103 ("sync: git: include signing key and git revision in log output") >Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> >--- > lib/portage/sync/modules/git/git.py | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/lib/portage/sync/modules/git/git.py b/lib/portage/sync/modules/git/git.py >index 8fdbf97de..a2830280f 100644 >--- a/lib/portage/sync/modules/git/git.py >+++ b/lib/portage/sync/modules/git/git.py >@@ -606,6 +606,7 @@ class GitSync(NewBase): > if self.bin_command is None: > # return quietly so that we don't pollute emerge --info output > return (1, False) >+ self.add_safe_directory() > rev_cmd = [self.bin_command, "rev-list", "--max-count=1", "HEAD"] > try: > ret = ( >-- >2.45.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 930992
: 892344