[PATCH 2/3] Rename git-diff-tree-helper to git-diff-helper.
authorJunio C Hamano <junkio@cox.net>
Sat, 14 May 2005 01:40:54 +0000 (18:40 -0700)
committerPetr Baudis <xpasky@machine.sinus.cz>
Sun, 15 May 2005 00:05:03 +0000 (02:05 +0200)
It used to be that diff-tree needed helper support to parse its
raw output to generate diffs, but these days git-diff-* family
produces the same output and the helper is not tied to diff-tree
anymore.  Drop "tree" from its name.

This commit is done separately to record just the rename and no
file content changes. The changes in the renamed files are recorded
in the next commit.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Bundled with the changes in the unrenamed files.

Signed-off-by: Petr Baudis <pasky@ucw.cz>
Documentation/diff-format.txt
Documentation/git-diff-helper.txt [moved from Documentation/git-diff-tree-helper.txt with 100% similarity]
Documentation/git.txt
Makefile
diff-helper.c [moved from diff-tree-helper.c with 100% similarity]
diff.h

index 1a99e85ee58bfc47192e3e3cd409af948c989f80..9e645399752e9b18f097840906fc640a1121d982 100644 (file)
@@ -45,7 +45,7 @@ with a '-p' option, they do not produce the output described above
 instead they produce a patch file.
 
 The patch generation can be customized at two levels.  This
-customization also applies to "git-diff-tree-helper".
+customization also applies to "git-diff-helper".
 
 1. When the environment variable 'GIT_EXTERNAL_DIFF' is not set,
    these commands internally invoke "diff" like this:
index 98d923db9267dcfd4ac331e1af7c6fc2afee9276..134afffe3f669f5806a03793f1d703895b022e0f 100644 (file)
@@ -149,7 +149,7 @@ link:git-rpull.html[git-rpull]::
 
 Interogators:
 
-link:git-diff-tree-helper.html[git-diff-tree-helper]::
+link:git-diff-helper.html[git-diff-helper]::
        Generates patch format output for git-diff-*
 
 link:git-rpush.html[git-rpush]::
index 92b7cdf7665d0654b25c65b7ebd17ab0e51fcad1..23129c442190fca832e69fdd032a0ea31c2dfe99 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ PROG=   git-update-cache git-diff-files git-init-db git-write-tree \
        git-check-files git-ls-tree git-merge-base git-merge-cache \
        git-unpack-file git-export git-diff-cache git-convert-cache \
        git-http-pull git-rpush git-rpull git-rev-list git-mktag \
-       git-diff-tree-helper git-tar-tree git-local-pull git-write-blob \
+       git-diff-helper git-tar-tree git-local-pull git-write-blob \
        git-get-tar-commit-id
 
 all: $(PROG)
@@ -101,7 +101,7 @@ git-rpush: rsh.c
 git-rpull: rsh.c pull.c
 git-rev-list: rev-list.c
 git-mktag: mktag.c
-git-diff-tree-helper: diff-tree-helper.c
+git-diff-helper: diff-helper.c
 git-tar-tree: tar-tree.c
 git-write-blob: write-blob.c
 
similarity index 100%
rename from diff-tree-helper.c
rename to diff-helper.c
diff --git a/diff.h b/diff.h
index 0b76cc42816e1f7804df6f313f24ce9be491b6e8..c146d8acf8601f81cb7b7baeaffcf85081e1eb1b 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -17,7 +17,7 @@ extern void diff_change(unsigned mode1, unsigned mode2,
 
 extern void diff_unmerge(const char *path);
 
-/* These are for diff-tree-helper */
+/* These are for diff-helper */
 
 struct diff_spec {
        unsigned char blob_sha1[20];