Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Cloning from a repo without "current branch"
[gitweb.git]
/
git-remote.perl
diff --git
a/git-remote.perl
b/git-remote.perl
index 576379912793c9740620892cd3ee1cf7d2f18cfe..b59cafdf87f7a800f85b6b99fc0344c7102e892a 100755
(executable)
--- a/
git-remote.perl
+++ b/
git-remote.perl
@@
-258,6
+258,7
@@
sub show_remote {
if ($info->{'PUSH'}) {
my @pushed = map {
s|^refs/heads/||;
+ s|^\+refs/heads/|+|;
s|:refs/heads/|:|;
$_;
} @{$info->{'PUSH'}};