author | Junio C Hamano <gitster@pobox.com> | |
Wed, 27 Aug 2008 06:13:13 +0000 (23:13 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 31 Aug 2008 04:04:50 +0000 (21:04 -0700) | ||
commit | 146ea068a0434a7423d8b0d77f27ccff0a584ac4 | |
tree | 67a5e1fe2e6125a8209d7f6ce9e5d9eb358954f2 | tree | snapshot |
parent | 53d1589ff6bd336e3ece39e0a963a3d2a537cf96 | commit | diff |
git commit --author=$name: look $name up in existing commits
This allows "git commit --author=$name" to accept a name that is not in
the required "A U Thor <author@example.xz>" format, and use that to look
up an author name that matches from existing commits.
When using this feature, it is the user's responsibility to give a name
that uniquely matches the name s/he wants, as the logic returns the name
from the first matching commit.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This allows "git commit --author=$name" to accept a name that is not in
the required "A U Thor <author@example.xz>" format, and use that to look
up an author name that matches from existing commits.
When using this feature, it is the user's responsibility to give a name
that uniquely matches the name s/he wants, as the logic returns the name
from the first matching commit.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit.txt | diff | blob | history | |
builtin-commit.c | diff | blob | history |