[Insight-developers] I cannot commit after I run ./Utilities/SetupForDevelopment.sh
Brad King
brad.king at kitware.com
Mon Jun 3 08:17:06 EDT 2013
On 06/01/2013 04:05 PM, Jian Cheng wrote:
> However, I found after I run ./Utilities/SetupForDevelopment.sh, I can not perform git commit.
> It shows
> .git/hooks/hooks-config.bash: line 33: .: .hooks-config.bash: file not found
> However .hooks-config.bash is right there.
That is indeed strange. Line 33 of hooks-config.bash is:
config=".hooks-config.bash" && test -r "$config" && . "$config"
so it tests for existence and readability before loading the file.
Please run the command
$ bash -x .git/hooks/hooks-config.bash
and post the output here.
Thanks,
-Brad
More information about the Insight-developers
mailing list