Code

shortlog: do not require to run from inside a git repository
authorJonas Fonseca <fonseca@diku.dk>
Fri, 14 Mar 2008 21:35:24 +0000 (22:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Mar 2008 07:49:15 +0000 (00:49 -0700)
commitabe549e1791822b3105648452b1f8907f8fdb26a
tree3686f073dfc5e8073a41925d371c085507c327cc
parent267123b4299ea2c2f090ef169f9fc5039897cd72
shortlog: do not require to run from inside a git repository

Once upon a time shortlog could be run from a non-git directory
and still do its job. Fix this regression and add a small test
for it.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-shortlog.c
git.c
t/t4201-shortlog.sh