justin stofle - 2014-03-11

I was able to fix this by commenting out lines 2715-2718 and changing the regex on line 2720 to s/^(?:# )?(?:On branch |Not currently on any branch.)(.+)?\n?//

Lines 2714 through 2720 now look like this:

my ($premove);
#while ($msg =~ s/(^[^#].*\n)//)
#{
# $premove .= $1;
#}

die "gits unexpected status output (missing branch): $msg" unless ($msg =~ s/^(?:# )?(?:On branch |Not currently on any branch.)(.+)?\n?//);