Re: [PATCH] [TopGit] Check for pre-commit hook existence.
- From
Petr Baudis <pasky@suse.cz>
- Date
- Aug 3, 2008, 14:26 UTC
- Message-ID
- <20080803142644.GB10151@machine.or.cz>
- In-Reply-To
- <20080803141030.GC11179@maggie.localnet>
On Sun, Aug 03, 2008 at 10:14:01PM +0800, Russell Steicke wrote:
Show 8 quoted lines
> Running tg in a repo without an active pre-commit hook fails > saying > > grep: .git/hooks/pre-commit: No such file or directory > cat: .git/hooks/pre-commit: No such file or directory > > Even "tg help" does this! So add extra checks for existence > of the pre-commit hook.
Thanks, applied.
Petr "Pasky" Baudis