git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Be consistent in naming of remote heads
@ 2005-08-17  3:02 Kris Shannon
  0 siblings, 0 replies; only message in thread
From: Kris Shannon @ 2005-08-17  3:02 UTC (permalink / raw)
  To: Git Mailing List

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

Signed-off-by: Kris Shannon <kris.shannon@gmail.com>
---

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

9e7a4358b1792be188df87debf564e46acdb39d4
diff --git a/git-parse-remote b/git-parse-remote
--- a/git-parse-remote
+++ b/git-parse-remote
@@ -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
 	;;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-17  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-17  3:02 [PATCH] Be consistent in naming of remote heads Kris Shannon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).