Open GoogleCodeExporter opened 8 years ago
I use git regularly and can duplicate this problem. I'm working on a fix for
this...
Original comment by rob.mcmu...@gmail.com
on 24 Mar 2009 at 2:25
Fixed this. It turns out that some untracked objects don't show up in
"git-ls-files
--others", so untracked files also have to be parsed out of the "git-status ."
output. I also broke up untrackedFiles into two methods, where I split the
parsing
into a new method parseOutputForUntrackedFiles so I could call that method from
the
status() method.
Original comment by rob.mcmu...@gmail.com
on 24 Mar 2009 at 4:10
Attachments:
Thanks Rob,
Applied with some small modifications. (It didn't properly handle filenames with
spaces in them.)
There is still one more bug with checking if a directory is controlled or not
when
right clicking that I didn't have the time to look into completely. So I left a
TODO
inside of parseOutputForUntrackedFiles. Basically it needs to check for './' and
'../' paths in the output.
So leaving this open till that TODO is handled.
Thanks,
Cody
Original comment by CodyPrec...@gmail.com
on 24 Mar 2009 at 11:57
Here's a quick fix for your fix that fixed the spaces in filenames. This one
fixes
problems that happen if the # character appears in a filename.
Original comment by rob.mcmu...@gmail.com
on 26 Mar 2009 at 10:23
Attachments:
Hello,
Applied. I also tried to fix the other issue as well. I made it better but it is
still somewhat broken for the right click menu. Once the headache set in I just
decided to add a fix in the UI for it, but would still be good to get fixed in
the
GIT module.
One would think that GIT would have a better command line interface than it
does. its
output is far more difficult to work with than any other source control system
that I
have worked with. Maybe there are some other commands that produce cleaner
output?
Thanks,
Cody
Original comment by CodyPrec...@gmail.com
on 27 Mar 2009 at 12:20
Original issue reported on code.google.com by
CodyPrec...@gmail.com
on 4 Feb 2009 at 1:58