summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-12-10 14:46:56 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-12-10 14:46:56 +0100
commit2d8552f6957f119f8151c2bd468cb2e675c164ca (patch)
treec4a808501c19beff75626e37bedbe39c5e492436 /bin/pkg
parent9263b78d7ed6e88b9ff79db00487e5a7ea33f8ed (diff)
pkg: vcs_to_list: Don't take (possibly local) branches into consideration
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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"
}