exit code 128 normally means that you are not inside a git repo directory.

anyway, if you mention "refs/notes", then it is supposed that you fave a 
.git/refs accessible somewhere (in the current dir or upstairs).

02 февруари 2013, събота, 02:45:40 UTC+2, krishna chaitanya kurnala написа:
>
> Hello 
>
> I am trying to come up with a hook that would parse the commit message of 
> any change that is Approved/Merged in Gerrit and add a portion of the 
> commit message to git notes.
> I added a snippet to change-merged gerrit hook, for example, 
> git fetch origin +refs/notes/*:refs/notes/* >> $hook_logfile
>
> I get single entry "exit status 128" in the log file.
>
> Does git notes need a valid workspace to execute ? Did anyone try using 
> git notes inside gerrit hooks. kindly advise. i really appeciate any 
> insights/guidance.
>
> thanks
> Krishna

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to