author | Junio C Hamano <junkio@cox.net> | |
Thu, 19 May 2005 10:32:35 +0000 (03:32 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 19 May 2005 15:59:40 +0000 (08:59 -0700) | ||
commit | 5c97558c9a813a0a775c438a79cfc438def00c22 | |
tree | 59b9eaa38cd2ec6f846ed2f2b6767055022a227a | tree | snapshot |
parent | a310d4349467d78266f38d29e500c77b96ee5bef | commit | diff |
[PATCH] Detect renames in diff family.
This rips out the rename detection engine from diff-helper and moves it
to the diff core, and updates the internal calling convention used by
diff-tree family into the diff core. In order to give the same option
name to diff-tree family as well as to diff-helper, I've changed the
earlier diff-helper '-r' option to '-M' (stands for Move; sorry but the
natural abbreviation 'r' for 'rename' is already taken for 'recursive').
Although I did a fair amount of test with the git-diff-tree with
existing rename commits in the core GIT repository, this should still be
considered beta (preview) release. This patch depends on the diff-delta
infrastructure just committed.
This implements almost everything I wanted to see in this series of
patch, except a few minor cleanups in the calling convention into diff
core, but that will be a separate cleanup patch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This rips out the rename detection engine from diff-helper and moves it
to the diff core, and updates the internal calling convention used by
diff-tree family into the diff core. In order to give the same option
name to diff-tree family as well as to diff-helper, I've changed the
earlier diff-helper '-r' option to '-M' (stands for Move; sorry but the
natural abbreviation 'r' for 'rename' is already taken for 'recursive').
Although I did a fair amount of test with the git-diff-tree with
existing rename commits in the core GIT repository, this should still be
considered beta (preview) release. This patch depends on the diff-delta
infrastructure just committed.
This implements almost everything I wanted to see in this series of
patch, except a few minor cleanups in the calling convention into diff
core, but that will be a separate cleanup patch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
12 files changed:
Documentation/git-diff-cache.txt | diff | blob | history | |
Documentation/git-diff-files.txt | diff | blob | history | |
Documentation/git-diff-helper.txt | diff | blob | history | |
Documentation/git-diff-tree.txt | diff | blob | history | |
diff-cache.c | diff | blob | history | |
diff-files.c | diff | blob | history | |
diff-helper.c | diff | blob | history | |
diff-tree.c | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
git-apply-patch-script | diff | blob | history | |
t/t4001-diff-rename.sh | [new file with mode: 0644] | blob |