Skip to content

Commit 07d0a91

Browse files
committed
Mark build as dirty if there are untracked files.
1 parent fef93e5 commit 07d0a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</exec>
1616
<echo message="Git revision: ${head}"/>
1717
<exec executable="git" outputproperty="dirty">
18-
<arg value="diff" />
19-
<arg value="--shortstat" />
18+
<arg value="status" />
19+
<arg value="-s" />
2020
</exec>
2121
<condition property="@{output}" value="${head}" else="${head}-dirty">
2222
<equals arg1="${dirty}" arg2="" />

0 commit comments

Comments
 (0)