Feature #1053 ยป 0058-revision_describer.bash-Remove-x-prefixing.patch
| scripts/revision_describer.bash | ||
|---|---|---|
|
#
|
||
|
#***********************************************************************/
|
||
|
if test x$1 = x ; then
|
||
|
if test "$1" = "" ; then
|
||
|
REVISION="HEAD"
|
||
|
else
|
||
|
REVISION=$1
|
||
|
REVISION="$1"
|
||
|
fi
|
||
|
if test x$2 = x ; then
|
||
|
if test "$2" = "" ; then
|
||
|
ONLY_CARE_ABOUT=
|
||
|
else
|
||
|
ONLY_CARE_ABOUT="-- $2"
|
||
| ... | ... | |
|
git log \
|
||
|
--format="${FORMAT}" \
|
||
|
${REVISION} -1 \
|
||
|
"${REVISION}" -1 \
|
||
|
${ONLY_CARE_ABOUT}
|
||