X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=macros%2Frevisions;h=4271149cffbd8074d89f16d88418b26f5f842441;hb=295a04b184bb6cd427c35c58f88d3d35a0552ed8;hp=c6fb8fa2cb59b7d239b81f372515a5ed96ed3a55;hpb=a6ae272ce0af6b93cabddf4aa4a3cebc7350f5a0;p=shellwiki diff --git a/macros/revisions b/macros/revisions index c6fb8fa..4271149 100755 --- a/macros/revisions +++ b/macros/revisions @@ -9,18 +9,19 @@ page_abs="$(page_abs "$page")" if ! acl_read "$page_abs"; then return 0 -elif [ ! "$(which git)" ]; then +elif [ "$REV_PAGES" != true ]; then printf '
GIT is not available to handle revisioning.
' fi -printf '\n'