Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

git-touch-repos: use git log instead of git show

git show gives an extra empty line for merge commits

Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
  • Loading branch information...
commit 35b2512e802e15b5977e0d0426ad31913f4992cf 1 parent 5d5428f
@snaewe snaewe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  git-touch-repos
View
2  git-touch-repos
@@ -3,5 +3,5 @@
export GIT_DIR
for GIT_DIR in *.git; do
- d=$(git show --pretty=%ci -s) && touch -d "$d" "$GIT_DIR"
+ d=$(git log --pretty=%ci -1) && touch -d "$d" "$GIT_DIR"
done
Please sign in to comment.
Something went wrong with that request. Please try again.