summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
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 8e8336d..bdfb007 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -144,7 +144,7 @@ progress () {
vcs_to_list () {
if [[ -d $1/.git ]] {
echo -n "$1 git "
- git --git-dir=$1/.git log | fgrep commit | head -n 1 | cut -d ' ' -f 2
+ git --git-dir=$1/.git log -n 1 | fgrep commit | cut -d ' ' -f 2
} else {
warn "Unsupported or no repository: $1\n"
}