{"thread":{"id":"23059","subject":"Correction in post-update.sample hook","startedAt":"2010-03-18T13:16:08Z","lastAt":"2010-03-18T13:16:08Z","messageCount":1,"participants":["Henry Gebhardt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"137088","messageId":"20100318141608.2a94c71e@googlemail.com","threadId":"23059","inReplyTo":null,"subject":"Correction in post-update.sample hook","fromName":"Henry Gebhardt","fromEmail":"hsggebhardt@googlemail.com","sentAt":"2010-03-18T13:16:08Z","receivedAt":"2010-03-18T13:16:08Z","isPatch":false,"sender":{"key":"hsggebhardt@googlemail.com","avatar":null},"body":"Hi,\n\nI believe the post-update.sample hook has a little spelling\nmistake, \"git-update-server-info\" is now \"git update-server-info\"\nwithout the dash. The attached patch fixes it throughout the\ntree.\n\nThanks,\nHenry\n\n>From e0b074ac5b8227bf9d0eaef94a631a610c9d9e44 Mon Sep 17 00:00:00 2001\nFrom: Henry Gebhardt <hsggebhardt@googlemail.com>\nDate: Thu, 18 Mar 2010 13:42:49 +0100\nSubject: [PATCH] git-update-server-info -> git update-server-info trivial fixes\n\nThe command git-update-server-info no longer exists as such. I noticed\nthis when using the post-update.sample hook for publishing via http.\n\nSigned-off-by: Henry Gebhardt <hsggebhardt@googlemail.com>\n---\n Documentation/config.txt                         |    2 +-\n Documentation/howto/rebuild-from-update-hook.txt |    2 +-\n contrib/examples/git-clone.sh                    |    2 +-\n git-repack.sh                                    |    2 +-\n templates/hooks--post-update.sample              |    2 +-\n 5 files changed, 5 insertions(+), 5 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 805e051..9b97242 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -1462,7 +1462,7 @@ receive.denyNonFastForwards::\n \tset when initializing a shared repository.\n \n receive.updateserverinfo::\n-\tIf set to true, git-receive-pack will run git-update-server-info\n+\tIf set to true, git-receive-pack will run git update-server-info\n \tafter receiving data from git-push and updating refs.\n \n remote.<name>.url::\ndiff --git a/Documentation/howto/rebuild-from-update-hook.txt b/Documentation/howto/rebuild-from-update-hook.txt\nindex 48c6756..9821526 100644\n--- a/Documentation/howto/rebuild-from-update-hook.txt\n+++ b/Documentation/howto/rebuild-from-update-hook.txt\n@@ -59,7 +59,7 @@ like this:\n             echo $HOME/doc-git/dododoc.sh | at now\n             ;;\n     esac\n-    exec git-update-server-info\n+    exec git update-server-info\n     EOF\n     $ chmod +x /pub/scm/git/git.git/hooks/post-update\n \ndiff --git a/contrib/examples/git-clone.sh b/contrib/examples/git-clone.sh\nindex 547228e..0dd704a 100755\n--- a/contrib/examples/git-clone.sh\n+++ b/contrib/examples/git-clone.sh\n@@ -75,7 +75,7 @@ clone_dumb_http () {\n \tfi\n \thttp_fetch \"$1/info/refs\" \"$clone_tmp/refs\" ||\n \t\tdie \"Cannot get remote repository information.\n-Perhaps git-update-server-info needs to be run there?\"\n+Perhaps git update-server-info needs to be run there?\"\n \ttest \"z$quiet\" = z && v=-v || v=\n \twhile read sha1 refname\n \tdo\ndiff --git a/git-repack.sh b/git-repack.sh\nindex 1eb3bca..532ecfe 100755\n--- a/git-repack.sh\n+++ b/git-repack.sh\n@@ -11,7 +11,7 @@ a               pack everything in a single pack\n A               same as -a, and turn unreachable objects loose\n d               remove redundant packs, and run git-prune-packed\n f               pass --no-reuse-object to git-pack-objects\n-n               do not run git-update-server-info\n+n               do not run git update-server-info\n q,quiet         be quiet\n l               pass --local to git-pack-objects\n  Packing constraints\ndiff --git a/templates/hooks--post-update.sample b/templates/hooks--post-update.sample\nindex 5323b56..ec17ec1 100755\n--- a/templates/hooks--post-update.sample\n+++ b/templates/hooks--post-update.sample\n@@ -5,4 +5,4 @@\n #\n # To enable this hook, rename this file to \"post-update\".\n \n-exec git-update-server-info\n+exec git update-server-info\n-- \n1.7.0.2\n\n"}]}