diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-08-03 18:09:24 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-08-03 22:41:51 +0100 |
commit | 8cf114b168d7cd2b837dc2bd1a4a44b97d97d4eb (patch) | |
tree | 17fa6a96d69f1437e50598791ce10b75f1a5d9ff | |
parent | e4130d897958102a5be89236ac79372bbf688708 (diff) |
dgit: Make commit_getclogp not leave a lot of detritus in .git/dgit
Have it use a fixed filename instead. It's only needed right away so
that's fine.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | dgit | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 2417718..eb7bc6a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,9 @@ dgit (4.1~) experimental; urgency=medium * dgit-user(7): Fixed example rune to use curl (which prints to stdout, as the rune expects). [reported by Simon Tatham] + Minor improvements: + * Do not leave many clog-* files in .git/dgit. + Internal changes: * using-these: New script to help with ad-hoc-testing. * Refactoring in preparation for push-source [Sean Whitton]. @@ -985,7 +985,7 @@ sub commit_getclogp ($) { my $memo = $commit_getclogp_memo{$objid}; return $memo if $memo; - my $mclog = dgit_privdir()."clog-$objid"; + my $mclog = dgit_privdir()."clog"; runcmd shell_cmd "exec >$mclog", @git, qw(cat-file blob), "$objid:debian/changelog"; $commit_getclogp_memo{$objid} = parsechangelog("-l$mclog"); |