<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-fetch.sh, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-01-27T02:11:06Z</updated>
<entry>
<title>git-fetch --upload-pack: disambiguate.</title>
<updated>2006-01-27T02:11:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-27T02:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2796a9de31cb12d719c73695334ee873c5213d4a'/>
<id>urn:sha1:2796a9de31cb12d719c73695334ee873c5213d4a</id>
<content type='text'>
Johannes noticed the recent addition of this new flag
inadvertently took over existing --update-head-ok (-u).  Require
longer abbreviation to this new option which would be needed in
a rare setup.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-{fetch,peek-remote} handling of --upload-pack</title>
<updated>2006-01-25T07:17:26Z</updated>
<author>
<name>Michal Ostrowski</name>
<email>mostrows@watson.ibm.com</email>
</author>
<published>2006-01-20T18:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=96b086d6181067e9c76f543aaddfc7fcfd02649c'/>
<id>urn:sha1:96b086d6181067e9c76f543aaddfc7fcfd02649c</id>
<content type='text'>
git-peek-remote needs to handle a -u|--upload-pack parameter just like
git-fetch (and git-fetch has to pass it on to git-peek-remote).

(This is actually a follow-up to my previous git-fetch patch.)

Signed-off-by: Michal Ostrowski &lt;mostrows@heater.watson.ibm.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-fetch: pass --upload-pack to fetch-pack</title>
<updated>2006-01-25T07:17:26Z</updated>
<author>
<name>Michal Ostrowski</name>
<email>mostrows@watson.ibm.com</email>
</author>
<published>2006-01-20T18:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c620a1ad1dce1e249d66ce18c7b1cce22d5d64c'/>
<id>urn:sha1:2c620a1ad1dce1e249d66ce18c7b1cce22d5d64c</id>
<content type='text'>
Without this, there is no way to specify a remote executable when
invoking git-pull/git-fetch as there is for git-clone.

[jc: I have a mild suspicion that this is a broken environment (aka
 sysadmin disservice).  It may be legal to configure your sshd to
 spawn named program without involving shell at all, and if your
 sysadmin does so and you have your git programs under your home
 directory, you would need something like this, but then I suspect
 you would need such workaround everywhere, not just git. But we
 have these options we can use to work around the issue, so there
 is no strong reason not to reject this patch, either. ]

Signed-off-by: Michal Ostrowski &lt;mostrows@watson.ibm.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add --keep option to keep downloaded packs to git-fetch.</title>
<updated>2006-01-11T06:10:37Z</updated>
<author>
<name>Tom Prince</name>
<email>tom.prince@ualberta.net</email>
</author>
<published>2006-01-11T01:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0f76f52621a6d760127cf2a508e09287766219b6'/>
<id>urn:sha1:0f76f52621a6d760127cf2a508e09287766219b6</id>
<content type='text'>
Signed-off-by: Tom Prince &lt;tom.prince@ualberta.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-fetch: auto-following tags.</title>
<updated>2006-01-08T05:33:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-07T08:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03febf99bc77001af6709ee1c17d3dc5e71e8990'/>
<id>urn:sha1:03febf99bc77001af6709ee1c17d3dc5e71e8990</id>
<content type='text'>
I added things to ls-remote so that Cogito can auto-follow tags
easily and correctly a while ago, but git-fetch did not use the
facility.  Recently added git-describe command relies on
repository keeping up-to-date set of tags, which made it much
more attractive to automatically follow tags, so we do that as
well.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-fetch --tags: reject malformed tags.</title>
<updated>2006-01-06T03:42:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-06T03:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=81214e4ddf2f0114ce7756a014dc533340fcb3f9'/>
<id>urn:sha1:81214e4ddf2f0114ce7756a014dc533340fcb3f9</id>
<content type='text'>
When the other end was prepared with older git and has tags that
do not follow the naming convention (see check-ref-format), do not
barf but simply reject to copy them.

Initial fix by Simon Richter, but done differently.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not mark tags fetched via --tags flag as mergeable</title>
<updated>2005-12-27T19:52:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-27T19:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36cd2cc7d949e1cc39104307fe904c47fe6d5526'/>
<id>urn:sha1:36cd2cc7d949e1cc39104307fe904c47fe6d5526</id>
<content type='text'>
Otherwise "git pull --tags" would mistakenly try to merge all of
them, which is never what the user wants.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-fetch: Usage string clean-up, emit usage string at unrecognized option</title>
<updated>2005-12-14T10:53:44Z</updated>
<author>
<name>freku045@student.liu.se</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-13T22:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=87358b7a193e24ed6cbe0dd8287a5c558a8ac421'/>
<id>urn:sha1:87358b7a193e24ed6cbe0dd8287a5c558a8ac421</id>
<content type='text'>
Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-sh-setup: die if outside git repository.</title>
<updated>2005-11-25T21:49:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-24T08:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ae2b0f15180d4b044828c836bcab6a990efa5c8e'/>
<id>urn:sha1:ae2b0f15180d4b044828c836bcab6a990efa5c8e</id>
<content type='text'>
Now all the users of this script detect its exit status and die,
complaining that it is outside git repository.  So move the code
that dies from all callers to git-sh-setup script.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Make "git fetch" less verbose by default</title>
<updated>2005-11-18T19:21:22Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-11-18T16:31:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=583122cd1b37d12d6f9fb487302ae07f1b446f03'/>
<id>urn:sha1:583122cd1b37d12d6f9fb487302ae07f1b446f03</id>
<content type='text'>
When doing something like

	git fetch --tags origin

the excessively verbose output of git fetch makes the result totally
unreadable. It's impossible to tell if it actually fetched anything new or
not, since the screen will fill up with an endless supply of

   ...
   * committish: 9165ec17fde255a1770886189359897dbb541012
     tag 'v0.99.7c' of master.kernel.org:/pub/scm/git/git
   * refs/tags/v0.99.7c: same as tag 'v0.99.7c' of master.kernel.org:/pub/scm/git/git
   ...

and any new tags that got fetched will be totally hidden.

So add a new "--verbose" flag to "git fetch" to enable this verbose mode,
but make the default be quiet.

NOTE! The quiet mode will still report about new or changed heads, so if
you are really fetching a new head, you'll see something like this:

   [torvalds@g5 git]$ git fetch --tags parent
   Packing 6 objects
   Unpacking 6 objects
    100% (6/6) done
   * refs/tags/v1.0rc2: storing tag 'v1.0rc2' of master.kernel.org:/pub/scm/git/git
   * refs/tags/v1.0rc3: storing tag 'v1.0rc3' of master.kernel.org:/pub/scm/git/git
   * refs/tags/v1.0rc1: storing tag 'v1.0rc1' of master.kernel.org:/pub/scm/git/git

which actually tells you something useful that isn't hidden by all the
useless crud that you already had.

Extensively tested (hey, for me, this _is_ extensive) by doing a

   rm .git/refs/tags/v1.0rc*

and re-fetching with both --verbose and without.

NOTE! This means that if the fetch didn't actually fetch anything at all,
git fetch will be totally quiet. I think that's much better than being so
verbose that you can't even tell whether something was fetched or not, but
some people might prefer to get a "nothing to fetch" message in that case.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
