summaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
Diffstat (limited to 'g')
-rwxr-xr-xg7
1 files changed, 0 insertions, 7 deletions
diff --git a/g b/g
index bf9275462c7f..bf6d8871ad85 100755
--- a/g
+++ b/g
@@ -232,9 +232,6 @@ for REPO in $DIRS ; do
;;
esac
- # check for changes
- HEADREF=$(git show-ref --head HEAD)
-
# do it!
if [ "$COMMAND" != "clone" -o ! -d $DIR ] ; then
if [ "$REPORT_REPOS" = "1" -a "$COMMAND" != "grep" ] ; then
@@ -254,10 +251,6 @@ for REPO in $DIRS ; do
update_hooks "$HOOKDIR"
fi
- # update stamp if the repo changed
- NEWHEADREF=$(git show-ref --head HEAD)
- [ "$HEADREF" != "$NEWHEADREF" ] && touch $CLONEDIR/repos_changed
-
case "$COMMAND" in
pull|clone)
# update links