diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-11-19 01:10:47 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 16:47:47 +0100 |
commit | 71c46788bf67bfada8c9a1e030e9093649a98c3d (patch) | |
tree | 801526f76fd633534d124b482cfb46449a117186 /dgit | |
parent | e12f82b7b0d83488293f33fa3aa445744ba7d031 (diff) |
Split brain: Make clogp_authline capable of returning individual pieces (nfc)
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.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |