summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
}