You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running on Windows, PyGitUp writes the log-hook command to a temporary .bat file and then executes it via cmd.exe (see gitup.py#L301). So may it be that git.exe is not in your PATH and thus cannot be found?
The simple example that works also does use git, so that's not the problem.
It looks like something with variable expansion is going wrong. On Windows %C gets interpretated as a variable. If I play around with the format in the .gitconfig file, I am seeing some output like:
C cd h
Which looks like %C %cd %h gets expanded to C cd h.
Maybe we need to escape these things, or disable variable expansion.
I am trying to debug this by modifying the gitup.py on my local machine.
Hello,
I am not 100% sure this is a git up issue (I am relatively new to git and git up).
When I create a git alias to allow me to do a pretty log format:
This works and gives me nice output.
When I try to set this log command as rebase log hook in git up:
This doesn't work:
(This is actually a error message in Dutch, in English it's "File or command not found")
I was supecting it had someting to do with the ' character and I tried different alternatives:
Same result.
This command itself cannot be executed (throws the same error).
Since the git alias is working and the git up rebase hook isn't, could it be related to how git up executes the hook?
If I use a simpler git log command, it does work:
I am on windows 7 x64.
Valentijn
The text was updated successfully, but these errors were encountered: