From: Robert Watson <robert.oo.watson@gmail.com>
To: git@vger.kernel.org, Junio C Hamano <junkio@cox.net>
Subject: [PATCH] Fix git-pull output message
Date: Wed, 28 Sep 2005 11:02:38 +0100 [thread overview]
Message-ID: <72499e3b05092803027175bab0@mail.gmail.com> (raw)
(git)$ git-pull
Fetching refs/heads/master from
http://www.kernel.org/pub/scm/git/git.git using http
* committish: 3cc35e29ec252d0dca1139106fbaa70cb9ad6ef1
branch 'master' of http://www.kernel.org/pub/scm/git/git
* refs/heads/origin: same as branch 'master' of
http://www.kernel.org/pub/scm/git/git
Already up-to-date. Yeeah!
Notice that the git.git directory is truncated. It seems the
intension is to truncate at the .git
directory level. The following patch fixes it.
diff --git a/git-fetch.sh b/git-fetch.sh
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -70,7 +70,7 @@ append_fetch_head () {
*)
note_="$remote_name of " ;;
esac
- remote_1_=$(expr "$remote_" : '\(.*\)\.git/*$') &&
+ remote_1_=$(expr "$remote_" : '\(.*/\)\.git/*$') &&
remote_="$remote_1_"
note_="$note_$remote_"
next reply other threads:[~2005-09-28 10:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-28 10:02 Robert Watson [this message]
2005-09-28 11:00 ` [PATCH] Fix git-pull output message Junio C Hamano
2005-09-28 15:29 ` Linus Torvalds
2005-09-29 8:48 ` Robert Watson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72499e3b05092803027175bab0@mail.gmail.com \
--to=robert.oo.watson@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).