Re: [PATCH] fetch/parse-remote: refs/remotes/* support
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 9, 2006, 17:23 UTC
- Message-ID
- <7vzmjz5y6o.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060309115452.GA13369@localdomain>
Show 10 quoted lines
> @@ -103,6 +103,9 @@ append_fetch_head () {
> refs/tags/*)
> note_="$(expr "$remote_name_" : 'refs/tags/\(.*\)')"
> note_="tag '$note_' of " ;;
> + refs/remotes/*)
> + note_="$(expr "$remote_name_" : 'refs/remotes/\(.*\)')"
> + note_="remote branch '$note_' of " ;;
> *)
> note_="$remote_name of " ;;
> esacI vaguely recall that if you touch this part of the code you would also need to check if fmt-merge-msg does sensible thing for it.