Permalink
Browse files

Fixed git-unmerged-next for newer versions of git

  • Loading branch information...
1 parent b861e5c commit 1d3aa7e97d7aff5c643970f18507f30864bd1958 @jferris committed Nov 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-unmerged-next
View
@@ -1,3 +1,3 @@
#!/bin/sh
-git status | grep unmerged | sed "s/^.*unmerged: *//" | head -n 1
+git status --porcelain | egrep "^U" | sed "s/^.* //" | head -n 1

0 comments on commit 1d3aa7e

Please sign in to comment.