mirrored from git://git.code.sf.net/p/zsh/code
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36830: vcs_info: Silence an error message with new git versions
Mikael informs me on IRC, that in new versions of git (he used 2.6.1) where the "am" subcommand is now a builtin, a file that is used by the git backend of vcs_info (namely .git/rebase-apply/msg-clean) is not available anymore, leading to an annoying error message: VCS_INFO_get_data_git:232: no such file or directory: .git/rebase-apply/msg-clean This patch checks for the availabiliy of the file before using it, and adjusts the value of the dependant values accordingly.
- Loading branch information
Showing
2 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7a16787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually does not fix the issue for me, and I'm using zsh 5.2.
7a16787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you can reproduce that with latest zsh master, please report that to zsh-users[at]zsh.org. (The zsh project doesn't use github.)
7a16787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ffxsam Did you ever fix this issue? Having the same problem and really need to rebase.
7a16787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the latest version of zsh 5.2. Perhaps your platform hasn't shipped a modified version of 5.2. For instance, I'm using Debian testing and my installed zsh package is version
5.2-5
, meaning it's the 5th or 6th modified version of zsh 5.2. What system are you using?7a16787
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like Daniel explained, the zsh project does not use github. This repository is
a mere mirror. If you still see this issue happening, please report the issue to
zsh-users[at]zsh.org — there is no need to subscribe if you don't want to. Just
ask to be Cc:ed.
Also, please include a full minimal example of how to reproduce the issue on
your end. Just claiming "I am seeing this" does not help.