Nazri Ramliy
Nazri Ramliy
https://github.com/buger/goterm/blob/master/terminal_sysioctl.go#L26 uses os.Stdin as an argument to the ioctl system call. When the standard input is not a terminal then os.Stdin is useless to ioctl hence `inappropriate ioctl for device`...
Instead of modifying git-number, you can write a wrapper script to do this: ``` #!/bin/sh subl $(git list $*|sed "s|^$PWD/|") ``` Though it breaks if the filename contains spaces.
Having the numbers updated automatically can be useful at times, and I admit I've been tempted to make it behave like that on my machine. What stops me is that...
Yes, git-number don't work with files that contains spaces in their names.
git-number doesn't work with renames. This is mentioned in the README, item 3 under the "Caveats" section. It might be possible to change it so that it can support renames,...
The first problem with implementing this is parsing the output of `git log --stat`, which, like `git status`, is a porcelain command - their output is not guaranteed to be...
:D LOL!
Do you mean going from this: ``` $ gn # On branch master # Untracked files: # (use "git add ..." to include in what will be committed) # #1...
The invocation should be like this: ``` $ git number checkout 1 ``` Anything that comes after -- are passed verbatim
You got a point there. The option parsing code in `git-number` and `git-id` definitely need rework.