diff options
author | Junio C Hamano <junkio@cox.net> | 2005-09-20 23:24:39 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-22 01:54:13 -0700 |
commit | 5cfcd07c931e6029a77f9393309f7d0ec7cdc118 (patch) | |
tree | 02ff16ec4156147c6a9b744033259d5c867837e4 /diff.c | |
parent | 9dcc829fe13b7c843a1df6c38479d5b8b8c7d20f (diff) | |
download | git-5cfcd07c931e6029a77f9393309f7d0ec7cdc118.tar.gz git-5cfcd07c931e6029a77f9393309f7d0ec7cdc118.tar.xz |
Retire diff-helper.
The textual diff generation with built-in '-p' in diff-* brothers has
proven to be useful enough that git-diff-helper outlived its usefulness.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -1152,29 +1152,6 @@ void diff_addremove(int addremove, unsigned mode, diff_queue(&diff_queued_diff, one, two); } -void diff_helper_input(unsigned old_mode, - unsigned new_mode, - const unsigned char *old_sha1, - const unsigned char *new_sha1, - const char *old_path, - int status, - int score, - const char *new_path) -{ - struct diff_filespec *one, *two; - struct diff_filepair *dp; - - one = alloc_filespec(old_path); - two = alloc_filespec(new_path); - if (old_mode) - fill_filespec(one, old_sha1, old_mode); - if (new_mode) - fill_filespec(two, new_sha1, new_mode); - dp = diff_queue(&diff_queued_diff, one, two); - dp->score = score * MAX_SCORE / 100; - dp->status = status; -} - void diff_change(unsigned old_mode, unsigned new_mode, const unsigned char *old_sha1, const unsigned char *new_sha1, |