diff options
author | Jeff King <peff@peff.net> | 2012-10-18 03:25:22 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-18 15:40:13 -0700 |
commit | ce80ca566af713c85ce3a1c20b466486058a971a (patch) | |
tree | 36bc8113d00b283a865f3db0a716c154520d3eb1 /t/t3031-merge-criscross.sh | |
parent | Git 1.8.0-rc3 (diff) | |
download | tgif-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 't/t3031-merge-criscross.sh')
0 files changed, 0 insertions, 0 deletions