From: Ian Jackson Date: Thu, 19 Nov 2015 01:10:47 +0000 (+0000) Subject: Split brain: Make clogp_authline capable of returning individual pieces (nfc) X-Git-Tag: archive/debian/2.0~314 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=71c46788bf67bfada8c9a1e030e9093649a98c3d 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. --- diff --git a/dgit b/dgit index e30a7889..79e0cc53 100755 --- 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; }