diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/pkglist | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/pkglist b/include/pkglist index f3d15e0..2af4d4a 100755 --- a/include/pkglist +++ b/include/pkglist @@ -5,10 +5,7 @@ cd $1 || exit 100 rm -f .list for i in *(/,@); { - if [[ -d $i/.hg ]] { - echo -n "$i hg " >> .list - hg -R $i log | fgrep changeset | head -n 1 | cut -d ' ' -f 4 >> .list - } elif [[ -d $i/.git ]] { + if [[ -d $i/.git ]] { echo -n "$i git " >> .list git --git-dir=$i/.git log | fgrep commit | head -n 1 | cut -d ' ' -f 2 >> .list } else { |