contacts: fix to work in subdirectories
commit8fc9f0227e8ea0461abfd3dc01cf1a51cca0f87f
authorEric Sunshine <sunshine@sunshineco.com>
Wed, 18 Sep 2013 02:52:05 +0000 (17 22:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2013 05:16:22 +0000 (17 22:16 -0700)
treee6e11dcc8f9a04eacb83fb9ddf3526e9c1d15caf
parent3b30ba55e4c14c6939a201e87d3542e157e2b318
contacts: fix to work in subdirectories

Unlike other git commands which work correctly at the top-level or in a
subdirectory, git-contacts fails when invoked in a subdirectory. This is
because it invokes git-blame with pathnames relative to the top-level,
but git-blame interprets the pathnames as relative to the current
directory. Fix this.

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