git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pre-receive hook ; how to detect file and append code ?
@ 2012-06-22 13:07 J. Bakshi
  2012-06-22 13:41 ` Thomas Adam
  2012-06-22 18:02 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: J. Bakshi @ 2012-06-22 13:07 UTC (permalink / raw)
  To: git

Dear list,

How can I detect a specific file during push, if it is modified or not ?
And how can I then append a block of code into that file; if modified
during push ? I think pre-receive hook is the best for this operation.

Thanks

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

end of thread, other threads:[~2012-06-25  7:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 13:07 pre-receive hook ; how to detect file and append code ? J. Bakshi
2012-06-22 13:41 ` Thomas Adam
2012-06-22 18:02 ` Junio C Hamano
2012-06-25  7:48   ` J. Bakshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).