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 Make git-clean a builtin 2007-11-18 19:11:42 -08:00
git-commit.sh Merge branch 'kh/commit' 2007-12-04 17:16:33 -08:00
git-fetch.sh Merge branch 'master' into db/fetch-pack 2007-10-16 00:15:25 -04:00
git-gc.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-ls-remote.sh Build in ls-remote 2007-11-05 12:25:42 -08:00
git-merge-ours.sh Merge branch 'maint' 2007-11-28 17:06:57 -08:00
git-reset.sh Merge branch 'maint' 2007-09-23 17:13:55 -07:00
git-resolve.sh Rewrite "git-frotz" to "git frotz" 2007-07-02 22:52:14 -07:00
git-revert.sh contrib: resurrect scripted git-revert. 2007-12-26 17:38:00 -08:00
git-svnimport.perl No longer install git-svnimport, move to contrib/examples 2007-10-30 21:36:29 -07:00
git-svnimport.txt No longer install git-svnimport, move to contrib/examples 2007-10-30 21:36:29 -07:00
git-tag.sh Officially deprecate repo-config. 2008-01-17 22:52:40 -08:00
git-verify-tag.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00