<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-resolve-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-09T00:38:44Z</updated>
<entry>
<title>Make "git resolve" take the merge message in $3</title>
<updated>2005-07-09T00:38:44Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-09T00:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ba513c32e7b9102187d94d1c43f33d9559fb334'/>
<id>urn:sha1:3ba513c32e7b9102187d94d1c43f33d9559fb334</id>
<content type='text'>
It used to do "Merge $3" as the message, but that ends up being
inconvenient, and much more easily done inside git-pull-script instead.

This makes the third argument to "git resolve" much easier to explain.
</content>
</entry>
<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>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>[PATCH] git-resolve-script: Add LAST_MERGE and use git-rev-parse</title>
<updated>2005-06-20T22:49:39Z</updated>
<author>
<name>Dan Holmsand</name>
<email>holmsand@gmail.com</email>
</author>
<published>2005-06-20T18:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c591412cc0aaf10890cdda4cf97a4fbc782d7d49'/>
<id>urn:sha1:c591412cc0aaf10890cdda4cf97a4fbc782d7d49</id>
<content type='text'>
Make git-resolve-script only write MERGE_HEAD if a merge actually
occurred. All merge failures leave ORIG_HEAD and LAST_MERGE
behind (instead of ORIG_HEAD and MERGE_HEAD).

Use git-rev-parse to expand arguments (and check for bad ones).

Signed-off-by: Dan Holmsand &lt;holmsand@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Clean up MERGE_HEAD and ORIG_HEAD also for the trivial fast-forward merges.</title>
<updated>2005-06-20T02:42:21Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-20T02:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=55a716cc8c93fd2eb161ae17f316ee01e8061be6'/>
<id>urn:sha1:55a716cc8c93fd2eb161ae17f316ee01e8061be6</id>
<content type='text'>
Otherwise you'll be bitten by a stale MERGE_HEAD like Jeff was..
</content>
</entry>
<entry>
<title>Trivial git script fixups</title>
<updated>2005-06-15T01:56:05Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-15T01:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=40d8cfe4117564e5520e8f4f953addaa94844476'/>
<id>urn:sha1:40d8cfe4117564e5520e8f4f953addaa94844476</id>
<content type='text'>
Fix permissions, and add trivial "reset" and "add" scripts.

The "reset" script just resets the index back to head, while the "add"
script is just a crutch for people used to do "cvs add".
</content>
</entry>
<entry>
<title>Make "git commit" work correctly in the presense of a manual merge</title>
<updated>2005-06-08T20:33:15Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-08T20:33:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c065315f70fb1086ef16fc37e72e3edbaf3e919'/>
<id>urn:sha1:9c065315f70fb1086ef16fc37e72e3edbaf3e919</id>
<content type='text'>
This has gotten only very light testing, but something like this is
clearly necessary and did the right thing for the one case I threw at
it.
</content>
</entry>
<entry>
<title>Make default merge messages denser.</title>
<updated>2005-06-08T17:09:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-08T17:09:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b1ea09de1eb2ae190169ca77e16a79de0e1ede7'/>
<id>urn:sha1:5b1ea09de1eb2ae190169ca77e16a79de0e1ede7</id>
<content type='text'>
In particular, make them readable on one line since that's what all the
tools like git-shortlog and gitk end up showing.
</content>
</entry>
<entry>
<title>git-resolve-script: stop when the automated merge fails</title>
<updated>2005-06-07T02:37:25Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-07T02:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e5b905c4481a3364070094b8ce0c2bf7fa5d481e'/>
<id>urn:sha1:e5b905c4481a3364070094b8ce0c2bf7fa5d481e</id>
<content type='text'>
No point in doing a tree write that will just throw
confusing messages on the screen.
</content>
</entry>
<entry>
<title>git-resolve-script: don't wait for three seconds any more</title>
<updated>2005-06-07T00:39:14Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-07T00:39:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3f4eff75308b86fe462a2333108470bd6556e3c4'/>
<id>urn:sha1:3f4eff75308b86fe462a2333108470bd6556e3c4</id>
<content type='text'>
We used to overwrite peoples dirty state.  We don't any more.  So don't
print the scary message and don't delay, just do the update already.
</content>
</entry>
</feed>
