Git development
 help / color / mirror / Atom feed
* What is the working directory for post-update hook?
@ 2006-02-05  9:06 Alan Chandler
  2006-02-05  9:37 ` Alan Chandler
  2006-02-05  9:41 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Chandler @ 2006-02-05  9:06 UTC (permalink / raw)
  To: git

The document root of my website has a git repository under it (in the 
standard .git subdirectory) and want a post update hook to checkout the 
contents (so the web server sees it!) 

I will be pushing to it via ssh.

Does this mean that the post-update hook with be run with a working directory 
of the web site's document root? or something relative (such as GIT_DIR) so 
that I don't have to do a specific cd to an absolute path.


-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-05 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05  9:06 What is the working directory for post-update hook? Alan Chandler
2006-02-05  9:37 ` Alan Chandler
2006-02-05  9:41 ` Junio C Hamano
2006-02-05 10:58   ` Alan Chandler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox