aboutsummaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-06-25 18:29:14 -0700
committerJunio C Hamano <gitster@pobox.com>2008-06-25 18:29:14 -0700
commit41e98de4280dbb340e64da0a0129edbda9108ccf (patch)
tree3a810f10511cdb4acbcffe69dd2698e7a91601b9 /Documentation/howto
parent3015fa5846c19e79f99c1d6a49fd2510ed9291b8 (diff)
parente636106c76e0273334940d899de1c928d08b29e8 (diff)
downloadgit-41e98de4280dbb340e64da0a0129edbda9108ccf.tar.gz
git-41e98de4280dbb340e64da0a0129edbda9108ccf.tar.xz
Merge branch 'maint'
* maint: GIT 1.5.6.1 fix update-hook-example to work with packed tag references clone: create intermediate directories of destination repo for-each-ref: implement missing tag values git-rebase.sh: Add check if rebase is in progress
Diffstat (limited to 'Documentation/howto')
-rw-r--r--Documentation/howto/update-hook-example.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/howto/update-hook-example.txt b/Documentation/howto/update-hook-example.txt
index 88765b557..a8d3bae40 100644
--- a/Documentation/howto/update-hook-example.txt
+++ b/Documentation/howto/update-hook-example.txt
@@ -68,7 +68,7 @@ function info {
# - Branches should only be fast-forwarded.
case "$1" in
refs/tags/*)
- [ -f "$GIT_DIR/$1" ] &&
+ git rev-parse --verify -q "$1" &&
deny >/dev/null "You can't overwrite an existing tag"
;;
refs/heads/*)