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
commitf1cafdc1dabbbfd6667a517f041fd79e3f89a277 (patch)
tree873a61614859dc8bd70a33eb2586a933c4e98f3b /bin/review-update-needed
parent558967f938aca986f57db5193bf9c94906c4ce84 (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