# [PATCH] Be consistent in naming of remote heads

1 messages from 2005-08-17 to 2005-08-17. Participants: Kris Shannon.
Thread: https://gitlist.dev/t/1544

## Kris Shannon, 2005-08-17 03:02

Subject: [PATCH] Be consistent in naming of remote heads
Message-ID: <bf38a9f050816200274e28f31@mail.gmail.com>
URL: https://gitlist.dev/e/bf38a9f050816200274e28f31%40mail.gmail.com

```
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
 	;;

```
