git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug#469250: Commit f5bbc322 to git broke pre-commit hooks which read stdin
@ 2008-03-04  8:38 David Bremner
  2008-03-04 10:45 ` Johannes Schindelin
  0 siblings, 1 reply; 14+ messages in thread
From: David Bremner @ 2008-03-04  8:38 UTC (permalink / raw)
  To: Kristian Høgsberg; +Cc: git, 469250


It looks like line 435 of builtin-commit.c disables stdin for hooks
(with the disclaimer that I first looked at the git source ten minutes
ago).

	   hook.no_stdin = 1

I'm not sure if this was by design, but just so you know, this breaks
people's hooks.  In particular the default metastore pre-commit hook
no longer works.  I didn't find anything relevant in the docs [1].

David

[1]: http://www.kernel.org/pub/software/scm/git/docs/hooks.html

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

end of thread, other threads:[~2008-03-05  5:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04  8:38 Bug#469250: Commit f5bbc322 to git broke pre-commit hooks which read stdin David Bremner
2008-03-04 10:45 ` Johannes Schindelin
2008-03-04 11:12   ` Junio C Hamano
2008-03-04 11:48     ` Johannes Sixt
2008-03-04 12:17       ` Junio C Hamano
2008-03-04 11:48     ` David Bremner
2008-03-04 12:04       ` Johannes Schindelin
2008-03-04 18:16         ` Joey Hess
2008-03-04 22:15         ` David Bremner
2008-03-05  5:12           ` Shawn O. Pearce
2008-03-05  5:36             ` Junio C Hamano
2008-03-05  5:46               ` Shawn O. Pearce
2008-03-04 11:51   ` Jakub Narebski
2008-03-04 12:03     ` Johannes Schindelin

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).