Hey guys,
magit is pretty wonderful. I'd like to report a in which it is not
wonderful -- to wit, when using git v1.6.3, it seems like wazzup isn't
working. At first I got this message:
fatal: ambiguous argument 'master..remotes/origin/HEAD -> origin/
master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
0 unmerged commits in remotes/origin/HEAD -> origin/master
fatal: bad revision 'master..remotes/origin/HEAD -> origin/master'
Further inspection revealed that the problem was that "git branch -a"
was returning branches like this:
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
The "cut" command handles the "* " at the front of each line, but
nothing for the "->". I think this is probably due to a change in
git's output, which sadly does happen. I have a hideous workaround
patch using a bunch of hideous elisp to strip out the "->" and
everything afterwards on the lines when it occurs; I've uploaded it to
Google Groups as "magit-patch-arrow.diff" if anyone wants to see what
I did. But I'm not sure this is the right fix; it's just "the first
thing that ran".
Ethan