2015-12-08 11:55:29 +00:00
|
|
|
#!/bin/sh
|
|
|
|
FILES="
|
2015-12-08 23:41:44 +00:00
|
|
|
libr/include/r_list.h
|
|
|
|
libr/include/r_reg.h
|
2015-12-14 13:32:18 +00:00
|
|
|
libr/anal/cycles.c
|
|
|
|
libr/anal/esil.c
|
|
|
|
libr/anal/data.c
|
2015-12-08 23:41:44 +00:00
|
|
|
libr/config/config.c
|
|
|
|
libr/config/callback.c
|
|
|
|
libr/config/t/test.c
|
|
|
|
libr/fs/fs.c
|
2015-12-08 22:55:23 +00:00
|
|
|
libr/reg/reg.c
|
|
|
|
libr/reg/arena.c
|
|
|
|
libr/reg/double.c
|
|
|
|
libr/reg/cond.c
|
|
|
|
libr/reg/value.c
|
|
|
|
libr/reg/profile.c
|
|
|
|
libr/bin/bin.c
|
|
|
|
libr/bin/bin_write.c
|
|
|
|
libr/bin/dbginfo.c
|
|
|
|
libr/bin/filter.c
|
|
|
|
libr/bin/format/objc/mach0_classes.c
|
2015-12-08 11:55:29 +00:00
|
|
|
libr/cons/hud.c
|
|
|
|
libr/cons/2048.c
|
2016-01-07 11:04:26 +00:00
|
|
|
libr/cons/utf8.c
|
2015-12-08 11:55:29 +00:00
|
|
|
libr/cons/line.c
|
|
|
|
libr/cons/canvas.c
|
2015-12-08 12:24:21 +00:00
|
|
|
libr/cons/editor.c
|
|
|
|
libr/util/base64.c
|
|
|
|
libr/util/name.c
|
|
|
|
libr/util/stack.c
|
|
|
|
libr/util/slist.c
|
|
|
|
libr/util/log.c
|
|
|
|
libr/util/cache.c
|
2016-01-07 11:04:26 +00:00
|
|
|
libr/core/file.c
|
2015-12-08 11:55:29 +00:00
|
|
|
"
|
2015-12-08 21:35:39 +00:00
|
|
|
case "$1" in
|
2015-12-08 22:55:23 +00:00
|
|
|
"help"|-h)
|
|
|
|
echo "Usage. sys/indent-whitelist.sh [commit] [apply]"
|
|
|
|
;;
|
2015-12-08 21:35:39 +00:00
|
|
|
"commit")
|
2015-12-08 11:44:05 +00:00
|
|
|
sys/indent.sh -i ${FILES}
|
|
|
|
git commit sys/indent* ${FILES}
|
2015-12-08 21:35:39 +00:00
|
|
|
;;
|
|
|
|
"apply")
|
|
|
|
sys/indent.sh -i ${FILES}
|
|
|
|
;;
|
|
|
|
*)
|
2015-12-08 11:44:05 +00:00
|
|
|
sys/indent.sh -u ${FILES}
|
2015-12-08 21:35:39 +00:00
|
|
|
esac
|