<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-fetch-script, branch v0.99</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v0.99</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v0.99'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-07-08T17:57:21Z</updated>
<entry>
<title>Add "git-sh-setup-script" for common git shell script setup</title>
<updated>2005-07-08T17:57:21Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-08T17:57:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b33e9666082ce692e64ccfd688dc2a5075566f75'/>
<id>urn:sha1:b33e9666082ce692e64ccfd688dc2a5075566f75</id>
<content type='text'>
It sets up the normal git environment variables and a few helper
functions (currently just "die()"), and returns ok if it all looks like
a git archive.  So use it something like

	. git-sh-setup-script || die "Not a git archive"

to make the rest of the git scripts more careful and readable.
</content>
</entry>
<entry>
<title>Work around git-http-pull breakage in git-fetch-script</title>
<updated>2005-07-05T19:02:10Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-05T19:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f03f2ba0a558c6fbfcf40ca24da55a8e9d602e46'/>
<id>urn:sha1:f03f2ba0a558c6fbfcf40ca24da55a8e9d602e46</id>
<content type='text'>
Need to add a final slash.  And make it verbose by default, since it's
so slow that otherwise people will think it's died.
</content>
</entry>
<entry>
<title>git-fetch-script: use git-fetch-pack for local and ssh fetches.</title>
<updated>2005-07-05T18:38:37Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-05T18:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0a623e7ce8aedd938e8fd5611ccf7ae28c1eb7d9'/>
<id>urn:sha1:0a623e7ce8aedd938e8fd5611ccf7ae28c1eb7d9</id>
<content type='text'>
Also, clean it up a lot.
</content>
</entry>
<entry>
<title>Make "git fetch" able to fetch a named tag</title>
<updated>2005-06-23T15:59:00Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-23T15:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5fca669f1933ca3ef5f93ee2bf8871183bc2a7c2'/>
<id>urn:sha1:5fca669f1933ca3ef5f93ee2bf8871183bc2a7c2</id>
<content type='text'>
Use "git fetch &lt;repo&gt; tag &lt;tagname&gt;" to get the named tag and everything
it points to.
</content>
</entry>
<entry>
<title>Clean up different special *HEAD handling</title>
<updated>2005-06-21T21:04:13Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-21T21:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b38a402e97274037982a5346ca4168cc8ee026c'/>
<id>urn:sha1:6b38a402e97274037982a5346ca4168cc8ee026c</id>
<content type='text'>
We codify the following different heads (in addition to the main "HEAD",
which points to the current branch, of course):

 - FETCH_HEAD

   Populated by "git fetch"

 - ORIG_HEAD

   The old HEAD before a "git pull/resolve" (successful or not)

 - LAST_MERGE

   The HEAD we're currently merging in "git pull/resolve"

 - MERGE_HEAD

   The previous head of a unresolved "git pull", which gets committed by
   a "git commit" after manually resolving the result

We used to have "MERGE_HEAD" be populated directly by the fetch, and we
removed ORIG_HEAD and LAST_MERGE too aggressively.
</content>
</entry>
<entry>
<title>Make fetch/pull scripts terminate cleanly on errors</title>
<updated>2005-06-07T00:40:22Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-07T00:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ed37b5b2b94398f3ab8312dfdf23cfd25549e3ec'/>
<id>urn:sha1:ed37b5b2b94398f3ab8312dfdf23cfd25549e3ec</id>
<content type='text'>
Don't continue with a merge if the fetch failed.
</content>
</entry>
<entry>
<title>Split up git-pull-script into separate "fetch" and "merge" phases.</title>
<updated>2005-05-22T18:03:24Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-05-22T18:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7ef76925d9c19ef74874e1735e2436e56d0c4897'/>
<id>urn:sha1:7ef76925d9c19ef74874e1735e2436e56d0c4897</id>
<content type='text'>
This allows you to just fetch stuff first, inspect it, and then
resolve the merge separately if everything looks good.
</content>
</entry>
</feed>
