From a8d4b5b440ed9ac29a0eae7fc47c144d46745078 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 1 Oct 2021 20:07:50 +0200 Subject: add some comments, summary, TODOs and infos --- exp/exp.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'exp/exp.sh') diff --git a/exp/exp.sh b/exp/exp.sh index 0213b2f..c031b94 100755 --- a/exp/exp.sh +++ b/exp/exp.sh @@ -17,8 +17,13 @@ cat "$commits" | while read line do hash=$(echo "$line" | cut -f1) git -C "$repo" checkout "$hash" + + # create diff for this version git -C "$repo" diff --minimal --binary --unified=0 "$prev" | gzip > "$diffs/$i.diff.gz" + + # create backup for this version ../dna-backup commit -v 2 "$repo" "$backup" + prev="$hash" let i++ if [[ $i == $max_count ]] -- cgit v1.2.3