Skip to contentSkip to conversation

Be consistent in naming of remote heads

PATCH New Kris Shannon 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Be consistent in naming of remote heads

The _remote_name variable used for messages does not need the refs/heads/ prefix included.

---

 git-parse-remote |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

9e7a4358b1792be188df87debf564e46acdb39d4

git-parse-remote +1 -1
@@ -71,8 +71,8 @@ tag)
 	'')
 		_remote_head=HEAD ;;
 	*)
-		_remote_head="refs/heads/$_remote_head"
 		_remote_name="head '$_remote_head' of $_remote_name"
+		_remote_head="refs/heads/$_remote_head"
 		;;
 	esac
 	;;