From 2d8552f6957f119f8151c2bd468cb2e675c164ca Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 10 Dec 2008 14:46:56 +0100 Subject: pkg: vcs_to_list: Don't take (possibly local) branches into consideration --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pkg b/bin/pkg index 1276fd0..f1a7ddc 100755 --- a/bin/pkg +++ b/bin/pkg @@ -210,7 +210,7 @@ function progress { function vcs_to_list { if [[ -d $1/.git ]] { echo -n "$1 git " - echo ${$(git --git-dir=$1/.git log -n 1)[2]} + echo ${$(git --git-dir=$1/.git log -n 1 master)[2]} } else { warn "No git repository found: $1\n" } -- cgit v1.2.3