Re: can pre-commit hook accept user input?

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

 



Excerpts from Neal Kreitzinger's message of Sat May 22 03:41:11 +0200 2010:
> Can the pre-commit hook accept user input?  I'm new to linux and bash 

Maybe try describing why you want to add this hook?
Which purpose does it have?
Maybe there is another way to get what you want.

There may be some ways using new ttys and such to be able to read from
stdin again. Maybe even use tools such as xmessage or gui inputs.

But this should be a personal hack only then - because I don't know
exactly those hooks are run. So tell more about the "why" and maybe
you'll get much feedback about the "how" to do it.

Marc Weber
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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]