]> git.plutz.net Git - shellwiki/blobdiff - macros/revisions
enable work without git revisioning
[shellwiki] / macros / revisions
index 9a5730f4021d5a069a748b8e7265658bef8cf433..4271149cffbd8074d89f16d88418b26f5f842441 100755 (executable)
@@ -9,7 +9,7 @@ page_abs="$(page_abs "$page")"
 
 if ! acl_read "$page_abs"; then
   return 0
-elif [ ! "$(which git)" ]; then
+elif [ "$REV_PAGES" != true ]; then
   printf '<div class="macro revisions error">GIT is not available to handle revisioning.</div>'
 fi