{"thread":{"id":"14564","subject":"error: hook declined to update refs/heads/master","startedAt":"2008-07-21T09:34:53Z","lastAt":"2008-07-21T13:24:48Z","messageCount":4,"participants":["Jonathan Biolaz","Johannes Schindelin","Dmitry Potapov"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"84164","messageId":"80F1AC38-8A10-4184-BBFB-870399DE9A3A@sikatizen.com","threadId":"14564","inReplyTo":null,"subject":"error: hook declined to update refs/heads/master","fromName":"Jonathan Biolaz","fromEmail":"jonathan.biolaz@sikatizen.com","sentAt":"2008-07-21T09:34:53Z","receivedAt":"2008-07-21T09:34:53Z","isPatch":false,"sender":{"key":"jonathan.biolaz@sikatizen.com","avatar":null},"body":"Hye,\n\nI'm trying to make a remote repository on a Mac Osx Server leopard.\nI tried many methods to create the remote. First one, I clone my local  \nrepository with the --bare options, then copy this repo on the server  \nand add the remote to my local repository, Second one, I create an  \nempty bare repository on the server and then I try to push my local  \nrepository on it.\n\nEverything I'm doing is given my the same error when I try to push to  \nthe server :\n\n$ git push origin master\n\nCounting objects: 1709, done.\nCompressing objects: 100% (1523/1523), done.\nWriting objects: 100% (1709/1709), 1.95 MiB | 3818 KiB/s, done.\nTotal 1709 (delta 535), reused 0 (delta 0)\n*** Project description file hasn't been set\nerror: hooks/update exited with error code 1\nerror: hook declined to update refs/heads/master\nTo jbiolaz@macpro1.sikalab:/mp1_data/sikatizen/Dev/repo/calame.git\n  ! [remote rejected] master -> master (hook declined)\nerror: failed to push some refs to 'jbiolaz@macpro1.sikalab:/mp1_data/ \nsikatizen/Dev/repo/calame.git'\n\nI made the same on a linux server ad it's working well (but with  \nanother repository)\n\nI don't know what to do to make this working.\nAlso, my server Leopard server is driving me crazy, I have to had for  \nevery user a .bashrc which one contain the path to git. I don't find a  \nway to add this for all user !\n\nI hope someone can help me !!\n\nThanks !!\n\nJbiolaz\n"},{"id":"84165","messageId":"alpine.DEB.1.00.0807211153340.3305@eeepc-johanness","threadId":"14564","inReplyTo":"80F1AC38-8A10-4184-BBFB-870399DE9A3A@sikatizen.com","subject":"Re: error: hook declined to update refs/heads/master","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-07-21T09:54:34Z","receivedAt":"2008-07-21T09:54:34Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 21 Jul 2008, Jonathan Biolaz wrote:\n\n> $ git push origin master\n> \n> Counting objects: 1709, done.\n> Compressing objects: 100% (1523/1523), done.\n> Writing objects: 100% (1709/1709), 1.95 MiB | 3818 KiB/s, done.\n> Total 1709 (delta 535), reused 0 (delta 0)\n> *** Project description file hasn't been set\n\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n> error: hooks/update exited with error code 1\n> error: hook declined to update refs/heads/master\n\nApparently, you have a hook installed on the remote side which checks for \na valid description, and refuses even updating refs before you set the \ndescription correctly.\n\nHth,\nDscho\n"},{"id":"84185","messageId":"33E8E17B-D34A-4035-945A-CDB8A786A975@sikatizen.com","threadId":"14564","inReplyTo":"alpine.DEB.1.00.0807211153340.3305@eeepc-johanness","subject":"Re: error: hook declined to update refs/heads/master","fromName":"Jonathan Biolaz","fromEmail":"jonathan.biolaz@sikatizen.com","sentAt":"2008-07-21T11:33:39Z","receivedAt":"2008-07-21T11:33:39Z","isPatch":false,"sender":{"key":"jonathan.biolaz@sikatizen.com","avatar":null},"body":"\n\n> Hi,\n>\n> On Mon, 21 Jul 2008, Jonathan Biolaz wrote:\n>\n>> $ git push origin master\n>>\n>> Counting objects: 1709, done.\n>> Compressing objects: 100% (1523/1523), done.\n>> Writing objects: 100% (1709/1709), 1.95 MiB | 3818 KiB/s, done.\n>> Total 1709 (delta 535), reused 0 (delta 0)\n>> *** Project description file hasn't been set\n>\n> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n>\n>> error: hooks/update exited with error code 1\n>> error: hook declined to update refs/heads/master\n>\n> Apparently, you have a hook installed on the remote side which  \n> checks for\n> a valid description, and refuses even updating refs before you set the\n> description correctly.\n\nOk.\nSo, what's a hook ? and how I set the description ??\n\nThanks\n"},{"id":"84192","messageId":"37fcd2780807210624m4debee4en2dff4ab6bac0917d@mail.gmail.com","threadId":"14564","inReplyTo":"33E8E17B-D34A-4035-945A-CDB8A786A975@sikatizen.com","subject":"Re: error: hook declined to update refs/heads/master","fromName":"Dmitry Potapov","fromEmail":"dpotapov@gmail.com","sentAt":"2008-07-21T13:24:48Z","receivedAt":"2008-07-21T13:24:48Z","isPatch":false,"sender":{"key":"dpotapov@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6568595?v=4"},"body":"On Mon, Jul 21, 2008 at 3:33 PM, Jonathan Biolaz\n<jonathan.biolaz@sikatizen.com> wrote:\n>\n> So, what's a hook ?\n\nhttp://www.kernel.org/pub/software/scm/git/docs/githooks.html\n\n>  and how I set the description ??\n\nBy editing .git/description file.\n\nDmitry\n"}]}