Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge git://ozlabs.org/~paulus/gitk
[gitweb.git]
/
contrib
/
contacts
/
git-contacts
diff --git
a/contrib/contacts/git-contacts
b/contrib/contacts/git-contacts
index fb6429b64be3cf7011ce69950987a8b328e0e758..428cc1a9a1367e36c2739cb226a0ffdd2704ce82 100755
(executable)
--- a/
contrib/contacts/git-contacts
+++ b/
contrib/contacts/git-contacts
@@
-181,6
+181,10
@@
if (@rev_args) {
scan_rev_args(\%sources, \@rev_args)
}
+my $toplevel = `git rev-parse --show-toplevel`;
+chomp $toplevel;
+chdir($toplevel) or die "chdir failure: $toplevel: $!\n";
+
my %commits;
blame_sources(\%sources, \%commits);
import_commits(\%commits);