[PATCH todo] remind-credit: ignore hidden files

21 Aug
2020
21 Aug
'20
11:11 a.m.
Signed-off-by: Wu Fengguang <wufengguang@huawei.com> --- bin/remind-credit | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/remind-credit b/bin/remind-credit index 65d25d3..887bd42 100755 --- a/bin/remind-credit +++ b/bin/remind-credit @@ -7,6 +7,7 @@ cd /c/todo.git for p in $(git ls-tree --name-only HEAD people/) do + [ "${p#people/.}" != "$p" ] && continue [ -n "$(git ls-tree --name-only HEAD $p/credit/$credit_file)" ] && continue name=`basename $p` -- 2.23.0
1649
Age (days ago)
1649
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wu Fengguang