1
0
mirror of https://github.com/git/git.git synced 2024-11-18 01:54:19 +01:00
git/contrib/examples
Daniel Barkalow 782c2d65c2 Build in checkout
The only differences in behavior should be:

 - git checkout -m with non-trivial merging won't print out
   merge-recursive messages (see the change in t7201-co.sh)

 - git checkout -- paths... will give a sensible error message if
   HEAD is invalid as a commit.

 - some intermediate states which were written to disk in the shell
   version (in particular, index states) are only kept in memory in
   this version, and therefore these can no longer be revealed by
   later write operations becoming impossible.

 - when we change branches, we discard MERGE_MSG, SQUASH_MSG, and
   rr-cache/MERGE_RR, like reset always has.

I'm not 100% sure I got the merge recursive setup exactly right; the
base for a non-trivial merge in the shell code doesn't seem
theoretically justified to me, but I tried to match it anyway, and the
tests all pass this way.

Other than these items, the results should be identical to the shell
version, so far as I can tell.

[jc: squashed lock-file fix from Dscho in]

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-02-16 15:05:02 -08:00
..
git-checkout.sh Build in checkout 2008-02-16 15:05:02 -08:00
git-clean.sh
git-commit.sh
git-fetch.sh
git-gc.sh
git-ls-remote.sh
git-merge-ours.sh
git-reset.sh
git-resolve.sh
git-revert.sh contrib: resurrect scripted git-revert. 2007-12-26 17:38:00 -08:00
git-svnimport.perl
git-svnimport.txt
git-tag.sh Officially deprecate repo-config. 2008-01-17 22:52:40 -08:00
git-verify-tag.sh