Comments (3)
This patch might work for the time being:
diff --git a/git-id b/git-id
index 31ab385..323e2dd 100755
--- a/git-id
+++ b/git-id
@@ -27,11 +27,12 @@ print $cache "\n";
my $c = 1;
while (my $line = <$git_status>) {
- if ($line =~ /^#\t/) {
- $line =~ s/^#/#$c/;
+ if ($line =~ /#\t/) {
+ $line =~ s/#\t/#$c\t/;
$c += 1;
}
print $line;
+ $line =~ s/\e\[\d*m//g;
print $cache $line;
}
close $git_status;
from git-number.
It works. Thxs! :D
from git-number.
encounter error: Dubious, test returned 1
disable gitconfig color section works for me.
from git-number.
Related Issues (20)
- bash completion does not work HOT 2
- can not reset renamed files HOT 2
- git number breaks 'git add' HOT 3
- implement numbers for `git pull` HOT 1
- feature-request: display number for `git log --stat` HOT 1
- Preserve symlink in path HOT 5
- Many tests fail on macOS 10.13 HOT 7
- git-number should safely escape all arguments HOT 2
- git-number mix-up numbers HOT 6
- It doesn't work properly in VSCode v1.19.0 HOT 1
- reset deleted files HOT 5
- FR: Implement option to generate absolute path HOT 1
- Git number do not work if some arguments are passed to git HOT 2
- Reset renamed files do not work HOT 2
- Just a thought HOT 1
- Implement support for `--short` option of `status` command HOT 1
- missing license for the repo HOT 1
- git-number doesn't seem to work with filenames that include spaces HOT 1
- Any args given after `--' are passed to the underlying command verbatim. HOT 5
- Quote Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-number.