Closed KES777 closed 8 years ago
Yup, I can reproduce the issue. Thanks for reporting this.
This issue should be fixed by this commit: https://github.com/holygeek/git-number/commit/d8967d748d89a4d60b961085ea3795bed4adab7a
ga
should now work.
However your "bold red" setting for the untracked files is not honored by git-number if the untracked files are set to be shown in column (which is the default is recent git versions) - only files in the first column listed in the columnar list will be shown in bold red, while the one in the subsequent columns are shown in plain red. This is because the git-id
script uses the hardcoded red (non bold) color when showing the untracked files in columnar listing.
Seeing that you have set the configuration color.status.untracked "bold red", I assume that you would like git number to also use this color for showing the untracked files when they are shown in columns, which you can do by modifying the hardcoded plain red in git-id
to something like \e[1;31m
.
Maybe it will be better the git-id
use git config
command to get color?
I have not eager to dig sources git-id
In any case thank you for fix. +1
If you add to
.gitconfig
you will not able to add files
After
git add "
starting atfile.txt"
text is red. It seemsgit number
put ESC sequence into the commandFor consistency: