|
Last change
on this file since 991 was 988, checked in by Silvan Scherrer, 9 years ago |
|
Samba Server: update vendor to version 4.4.3
|
|
File size:
591 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | #
|
|---|
| 3 |
|
|---|
| 4 | N=`git clean -n | wc -l`
|
|---|
| 5 | C=`git diff --stat HEAD | wc -l`
|
|---|
| 6 |
|
|---|
| 7 | test x"$N" != x"0" && {
|
|---|
| 8 | echo "The tree has $N new uncommitted files!!! see stderr"
|
|---|
| 9 | echo "The tree has $N new uncommitted files!!!" >&2
|
|---|
| 10 |
|
|---|
| 11 | echo "git clean -n" >&2
|
|---|
| 12 | git clean -n >&2
|
|---|
| 13 |
|
|---|
| 14 | test x"$C" != x"0" && {
|
|---|
| 15 | echo "git diff -p --stat HEAD" >&2
|
|---|
| 16 | git diff -p --stat HEAD >&2
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | exit 1
|
|---|
| 20 | }
|
|---|
| 21 |
|
|---|
| 22 | test x"$C" != x"0" && {
|
|---|
| 23 | echo "The tree has uncommitted changes!!! see stderr"
|
|---|
| 24 | echo "The tree has uncommitted changes!!!" >&2
|
|---|
| 25 |
|
|---|
| 26 | echo "git diff -p --stat HEAD" >&2
|
|---|
| 27 | git diff -p --stat HEAD >&2
|
|---|
| 28 |
|
|---|
| 29 | exit 1
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | echo "clean tree"
|
|---|
| 33 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.