Commit 0ef7e2e9 by Chavee Issariyapat

Update git status -s to ignore .make-function

parent bcdf5eac
...@@ -6,7 +6,7 @@ define MAKEFUNCTIONCODE ...@@ -6,7 +6,7 @@ define MAKEFUNCTIONCODE
# old version, just track uncommited + untracked files # old version, just track uncommited + untracked files
# test -n "$$(git status -s .)" # test -n "$$(git status -s .)"
# expect 1 to be normal so the untracked file .make-funcition will be ignored # expect 1 to be normal so the untracked file .make-funcition will be ignored
test 1 -ne "$$(git status -s . | wc -l )" test 0 -ne "$$(git status -s . | sed -e '/.make-function/d' | wc -l)"
} }
function getRelease() { function getRelease() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment