forked from Imagelibrary/binutils-gdb
src-release.sh: don't take untracked files into account in the uncommitted changes check
This commit is contained in:
committed by
Nick Clifton
parent
c41020942b
commit
0949bd1df9
@@ -79,8 +79,8 @@ getver()
|
|||||||
|
|
||||||
clean_sources()
|
clean_sources()
|
||||||
{
|
{
|
||||||
# Check that neither staged nor unstaged change remains.
|
# Check that neither staged nor unstaged changes of any tracked file remains.
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain -uno)" ]; then
|
||||||
echo "There are uncommitted changes. Please commit or stash them."
|
echo "There are uncommitted changes. Please commit or stash them."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user