summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-12-29 01:38:39 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-12-29 01:38:39 (GMT)
commit903f4ca05354daa572ae4aa964359899d6d911eb (patch)
tree412a87708513692cfb99e10484323cbe67ede21e
parentf134950ae915d0ee64c3a8545b791bd7cf207c24 (diff)
downloadmisc-903f4ca05354daa572ae4aa964359899d6d911eb.zip
misc-903f4ca05354daa572ae4aa964359899d6d911eb.tar.gz
misc-903f4ca05354daa572ae4aa964359899d6d911eb.tar.bz2
censorgit/post-receive: use cg-neo900
-rwxr-xr-xcensorgit/post-receive8
1 files changed, 2 insertions, 6 deletions
diff --git a/censorgit/post-receive b/censorgit/post-receive
index b804796..4e5b2fe 100755
--- a/censorgit/post-receive
+++ b/censorgit/post-receive
@@ -3,7 +3,7 @@ REPO_BASE=`pwd`/..
BIN=$REPO_BASE/../bin
SRC=`pwd`
DST=$REPO_BASE/ee-feeder
-CG=$BIN/cg
+CG=$BIN/cg-neo900
unset GIT_DIR
@@ -12,11 +12,7 @@ while read oval nval ref; do
[ "$ref" = refs/heads/master ] || continue
logger "post-receive: $oval $nval $ref"
- GIT_COMMITTER_NAME="Generated from internal repo" \
- GIT_COMMITTER_EMAIL="nobody@neo900.org" \
- $CG --bare --exclude="**/*.kicad_pcb" \
- --exclude="**/*.kicad_mod" --exclude="**/*.fpd" \
- "$SRC" "$DST" $oval..$nval
+ $CG --bare "$SRC" "$DST" $oval..$nval
changed=true
done