2017-03-01 1 views

Répondre

0

Si ne comprennent pas signifie que le fichier ne change pas dans la validation, Set A est git log --pretty=%h --follow <file>, Set B est git log --%h et B - A = {sha1 values of commits that don't include the file}.

git log --pretty=%h --follow *file* > a.txt 
git log --pretty=%h *file* > b.txt 
sort b.txt a.txt a.txt | uniq -u 
+0

Eh bien, j'utiliserais 'comm' plutôt que' sort', mais oui. :-) – torek