diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/pkglist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pkglist b/include/pkglist index eb705c8..9a101b0 100755 --- a/include/pkglist +++ b/include/pkglist @@ -15,6 +15,9 @@ for i in *(-/); { if [[ -d $i/.git ]] { echo -n "$i git " echo ${$(git --git-dir=$i/.git log -n 1)[2]} + } elif [[ -d $i/objects && -d $i/refs ]] { + echo -n "$ git " + echo ${$(git --git-dir=$i log -n 1)[2]} } else { echo "$i: Unsupported or no repository" >&2 } |