aboutsummaryrefslogtreecommitdiff
path: root/git-filter-branch.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-10-18 03:25:22 -0400
committerJunio C Hamano <gitster@pobox.com>2012-10-18 15:40:13 -0700
commitce80ca566af713c85ce3a1c20b466486058a971a (patch)
tree36bc8113d00b283a865f3db0a716c154520d3eb1 /git-filter-branch.sh
parent87a5461fa7b30f7b7baf27204f10219d61500fbf (diff)
downloadgit-ce80ca566af713c85ce3a1c20b466486058a971a.tar.gz
git-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 'git-filter-branch.sh')
0 files changed, 0 insertions, 0 deletions