summaryrefslogtreecommitdiff
path: root/contrib/buildsystems/Generators
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-10-18 03:25:22 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-18 15:40:13 -0700
commitce80ca566af713c85ce3a1c20b466486058a971a (patch)
tree36bc8113d00b283a865f3db0a716c154520d3eb1 /contrib/buildsystems/Generators
parentGit 1.8.0-rc3 (diff)
downloadtgif-ce80ca566af713c85ce3a1c20b466486058a971a.tar.xz
git-sh-setup: refactor ident-parsing functions
The only ident-parsing function we currently provide is get_author_ident_from_commit. This is not very flexible for two reasons: 1. It takes a commit as an argument, and can't read from commit headers saved on disk. 2. It will only parse authors, not committers. This patch provides a more flexible interface which will parse multiple idents from a commit provide on stdin. We can easily use it as a building block for the current function to retain compatibility. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/buildsystems/Generators')
0 files changed, 0 insertions, 0 deletions