summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d7015c9)
### Main program.
## If this is a Git checkout then Git should be able to identify the version.
### Main program.
## If this is a Git checkout then Git should be able to identify the version.
-if [ -d .git ] && version=$(git describe --abbrev=4 2>/dev/null); then
+if [ -e .git ] && version=$(git describe --abbrev=4 2>/dev/null); then
## If the working tree is dirty, indicate with a `+'.
case "$(git diff-index --name-only HEAD)" in
## If the working tree is dirty, indicate with a `+'.
case "$(git diff-index --name-only HEAD)" in