-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git up doesn't (always) work with pretty log format #11
Comments
Hey, when running on Windows, PyGitUp writes the log-hook command to a temporary .bat file and then executes it via Markus |
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:
Which looks like %C %cd %h gets expanded to C cd h. 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: