From 0918115966a3027002d4fc4edf92b97e8574ab95 Mon Sep 17 00:00:00 2001 From: Ery Date: Tue, 5 May 2015 15:47:45 +0800 Subject: [PATCH] Git diff --- script/git.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script/git.sh b/script/git.sh index 369e346..a2cd003 100644 --- a/script/git.sh +++ b/script/git.sh @@ -103,12 +103,12 @@ function suitup-git-diff { eval $1 } - run-command "git log HEAD -n 1" >> $output_file - run-command "git log $target -n 1" >> $output_file - run-command "git diff $target --detect-copies --shortstat" >> $output_file - run-command "git diff $target --detect-copies --stat" >> $output_file - run-command "git diff $target --detect-copies --name-status" >> $output_file - run-command "git diff $target --detect-copies" >> $output_file + run-command "git log HEAD -n 1" >> $output_file + run-command "git log $target -n 1" >> $output_file + run-command "git diff $target -C --shortstat" >> $output_file + run-command "git diff $target -C --stat" >> $output_file + run-command "git diff $target -C --name-status" >> $output_file + run-command "git diff $target -C" >> $output_file echo "suitup-git-diff output: $output_file"