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 /gitweb/static/js/adjust-timezone.js | |
| parent | 87a5461fa7b30f7b7baf27204f10219d61500fbf (diff) | |
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 'gitweb/static/js/adjust-timezone.js')
0 files changed, 0 insertions, 0 deletions
