Project

General

Profile

Download (661 Bytes) Statistics
| Branch: | Revision:

git_sitools_idoc / flarecast / workspace / sitools-build / scripts / diff-files.bat @ master

1
:: %1 correspond au commit d'origine
2
:: %2 correspond au commit de fin
3
:: %3 correspond au dossier destination du clone
4

    
5
cd %3
6

    
7
:: generation des fichiers
8
git.exe diff --name-only --diff-filter=MCR %1 %2 > modified_list-diff.txt
9
git.exe diff --name-only --diff-filter=A %1 %2 > added_list-diff.txt
10
git.exe diff --name-only --diff-filter=D  %1 %2 > deleted_list-diff.txt
11

    
12
:: tri des fichiers
13
java -jar lib/FileSorting.jar modified_list-diff.txt modified_list-diff.txt
14
java -jar lib/FileSorting.jar added_list-diff.txt added_list-diff.txt
15
java -jar lib/FileSorting.jar deleted_list-diff.txt deleted_list-diff.txt
16

    
17
git.exe ls-tree -r --name-only %2 > list-file.txt