contrib: contacts: interpret committish akin to format-patch
commitccf6b45aff3f89016cf1a3e39a37e73e72c3e0f6
authorEric Sunshine <sunshine@sunshineco.com>
Sun, 21 Jul 2013 10:52:40 +0000 (21 06:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Jul 2013 22:13:42 +0000 (21 15:13 -0700)
treec0a9defa56a9648279471b70bf4b05192886aa2f
parent8e7c4a82ec25ee92bcb81de8bb8c4a27876d6edc
contrib: contacts: interpret committish akin to format-patch

As a convenience, accept the same style <since> committish as accepted
by git-format-patch. For example:

  % git contacts origin

will consider commits in the current branch built atop 'origin', just as
"git format-patch origin" will format commits built atop 'origin'.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/contacts/git-contacts