chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e12f82b
)
Split brain: Make clogp_authline capable of returning individual pieces (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 19 Nov 2015 01:10:47 +0000
(
01:10
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 15:47:47 +0000
(16:47 +0100)
We are going to want this (so that we can set GIT_... variables to the
pieces to make git construct commits the way we want).
Both current call sites provide scalar context, so no functional
change.
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index e30a7889fa014710e8436af7e0d0bddaa9f60702..79e0cc53289564d9cef46f459adaa1f3ccfd57eb 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-1321,6
+1321,7
@@
sub clogp_authline ($) {
$authline =~ m/$git_authline_re/o or
fail "unexpected commit author line format \`$authline'".
" (was generated from changelog Maintainer field)";
+ return ($1,$2,$3) if wantarray;
return $authline;
}