Date:2010-12-18 09:34:32 (13 years 3 months ago)
Author:Werner Almesberger
Commit:9a3f873f7d146418dad45fa97a5b484c297816ca
Message:bin/purge: revert KiCad .pro files in which only the timestamp changed

Files: bin/purge (1 diff)

Change Details

bin/purge
1#!/bin/sh
2if [ "$1" ]; then
3    cd "$1" || exit
4fi
5git ls-files -m | grep '.pro$' |
6    while read n; do
7    if ! [ "`git diff "$n" |
8      sed '/^--- /d;/^+++ /d;/^[^-+]/d;/^.update=/d'`" ]; then
9        echo purging "$n" 1>&2
10        git checkout "$n"
11    fi
12    done

Archive Download the corresponding diff file

Branches:
master



interactive