1
0
mirror of https://github.com/git/git.git synced 2024-10-03 17:32:35 +02:00
git/Documentation
Junio C Hamano 427dcb4bca [PATCH] Diff overhaul, adding half of copy detection.
This introduces the diff-core, the layer between the diff-tree
family and the external diff interface engine.  The calls to the
interface diff-tree family uses (diff_change and diff_addremove)
have not changed and will not change.  The purpose of the
diff-core layer is to provide an infrastructure to transform the
set of differences sent from the applications, before sending
them to the external diff interface.

The recently introduced rename detection code has been rewritten
to use the diff-core facility.  When applications send in
separate creates and deletes, matching ones are transformed into
a single rename-and-edit diff, and sent out to the external diff
interface as such.

This patch also enhances the rename detection code further to be
able to detect copies.  Currently this happens only as long as
copy sources appear as part of the modified files, but there
already is enough provision for callers to report unmodified
files to diff-core, so that they can be also used as copy source
candidates.  Extending the callers this way will be done in a
separate patch.

Please see and marvel at how well this works by trying out the
newly added t/t4003-diff-rename-1.sh test script.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-21 09:58:03 -07:00
..
diff-format.txt [PATCH 2/3] Rename git-diff-tree-helper to git-diff-helper. 2005-05-15 02:05:03 +02:00
git-apply-patch-script.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-cat-file.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-check-files.txt [PATCH 3/4] split core-git.txt and update 2005-05-10 15:01:23 -07:00
git-checkout-cache.txt [PATCH] Implement git-checkout-cache -u to update stat information in the cache. 2005-05-19 09:50:57 -07:00
git-commit-tree.txt [PATCH 3/4] split core-git.txt and update 2005-05-10 15:01:23 -07:00
git-convert-cache.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-diff-cache.txt [PATCH] Diff overhaul, adding half of copy detection. 2005-05-21 09:58:03 -07:00
git-diff-files.txt [PATCH] Diff overhaul, adding half of copy detection. 2005-05-21 09:58:03 -07:00
git-diff-helper.txt [PATCH] Diff overhaul, adding half of copy detection. 2005-05-21 09:58:03 -07:00
git-diff-tree.txt [PATCH] Diff overhaul, adding half of copy detection. 2005-05-21 09:58:03 -07:00
git-export.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-fsck-cache.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-http-pull.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-init-db.txt [PATCH 3/4] split core-git.txt and update 2005-05-10 15:01:23 -07:00
git-local-pull.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-ls-files.txt [PATCH 3/3] Add git-ls-files -k. 2005-05-13 07:34:59 +02:00
git-ls-tree.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-merge-base.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-merge-cache.txt Document git-merge-cache -o 2005-05-11 04:49:36 +02:00
git-merge-one-file-script.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-mktag.txt [PATCH 3/4] split core-git.txt and update 2005-05-10 15:01:23 -07:00
git-prune-script.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-pull-script.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-read-tree.txt [PATCH 3/4] split core-git.txt and update 2005-05-10 15:01:23 -07:00
git-resolve-script.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-rev-list.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-rev-tree.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-rpull.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-rpush.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-tag-script.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-tar-tree.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-unpack-file.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-update-cache.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-write-blob.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git-write-tree.txt [PATCH 1/4] split core-git.txt and update 2005-05-10 14:55:22 -07:00
git.txt [PATCH] manpage name conflict 2005-05-19 09:58:44 -07:00
Makefile [PATCH] manpage name conflict 2005-05-19 09:58:44 -07:00