summaryrefslogtreecommitdiffstats
path: root/bin/review-update-needed
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2016-11-25 10:20:57 +0000
committerRaphaël Hertzog <hertzog@debian.org>2016-11-25 10:20:57 +0000
commita390afb91a5d40c2da362b69230850c06d0744b5 (patch)
tree7c5f0e012cfe17a4e875f07d8ff0e005f16ca41c /bin/review-update-needed
parentfefa6e3ccb8fa0533387e45bb7c166ab7883a476 (diff)
Fix bin/review-update-needed
"git-blame -p" only displays meta-data the first time a commit appears. But when a commit modifies multiple lines at different places in the file, then we use the wrong metadata for all modified lines except the first. With --line-porcelain, we get all the metadata for each line and it works as expected. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@46533 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/review-update-needed')
-rwxr-xr-xbin/review-update-needed4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/review-update-needed b/bin/review-update-needed
index 16bf2e6e0e..c32e1c53ea 100755
--- a/bin/review-update-needed
+++ b/bin/review-update-needed
@@ -47,8 +47,8 @@ if not os.path.exists(".git"):
sys.stderr.write("ERROR: works only in a git-svn checkout\n")
sys.exit(1)
-process = subprocess.Popen(["git", "blame", "-p", "--", dsa_dla_needed],
- stdout=subprocess.PIPE)
+process = subprocess.Popen(["git", "blame", "--line-porcelain", "--",
+ dsa_dla_needed], stdout=subprocess.PIPE)
context = {}
in_preamble = True
all_entries = []

© 2014-2024 Faster IT GmbH | imprint | privacy policy