Re: receive.denyCurrentBranch=updateInstead won't update the repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(I seem to have responded privately to the helpful Junio C Hamano,
instead of to the list, sorry about that.)

Well, there's progress. Indeed I must have borked something with the
hook, as I can now confirm that the hook works and fails as intended.

Still, local-to-server pushes fail to checkout on the server, without
any indication as to why. The server clearly recognizes the
updateInstead option, as it runs the push-to-checkout hook, but then
it silently fails to update the remote worktree.

Any idea what could be causing this?

Pushing to ssh://*hostname*/home/uuuusername/domains/mywebsite.com
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 284 bytes | 284.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: HOOK UPDATE: 1=refs/heads/mywebsite
2=650585f1c2abdbbd68de71acfb31b5d66ee1d0f3
3=adc4a555cfc23e037ad026a405a13e7a468188c4 GITDIR=
HOOK PUSH-TO-CHECKOUT 1=adc4a555cfc23e037ad026a405a13e7a468188c4 2= 3= GITDIR=
To ssh://*hostname*/home/uuuusername/domains/mywebsite.com
650585f..adc4a55  mywebsite -> mywebsite
updating local tracking ref 'refs/remotes/myserver-mywebsite/mywebsite'

-- 
Adam "Sinus" Skawiński



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux