]> git.phdru.name Git - git-wiki.git/blobdiff - pep-git.txt
gitolite is written in Perl
[git-wiki.git] / pep-git.txt
index d7eb1996f168abe73d025853bcc07402931dce49..1c78dd490d0ee14893f4f0fdfc2caba5aa51d6c0 100644 (file)
@@ -786,10 +786,14 @@ but you can use your editor::
 
 BTW, if git is instructed to use ``less`` as the pager (i.e., if pager
 is not configured in git at all it uses ``less`` by default, or if it
-gets ``less`` from PAGER environment variable, or if it was configured
-with ``git config --global core.pager less``, or ``less`` is used in
-the command ``git grep -Oless``) ``git grep`` passes ``+/$pattern``
-option to ``less`` which is quite convenient.
+gets ``less`` from GIT_PAGER or PAGER environment variables, or if it
+was configured with ``git config --global core.pager less``, or
+``less`` is used in the command ``git grep -Oless``) ``git grep``
+passes ``+/$pattern`` option to ``less`` which is quite convenient.
+Unfortunately, ``git grep`` doesn't pass the pattern if the pager is
+not exactly ``less``, even if it's ``less`` with parameters (something
+like ``git config --global core.pager less -FRSXgimq``); fortunately,
+``git grep -Oless`` always passes the pattern.
 
 
 bash/zsh completion
@@ -838,8 +842,8 @@ repositories can be made user- or group-writeable (see parameter
 ``core.sharedRepository`` in ``git help config``). If that's too
 permissive or too restrictive for some project's needs there is a
 wrapper `gitolite <http://gitolite.com/gitolite/index.html>`_ that can
-be configured to allow access with great granularity; gitolite has a
-lot of documentation.
+be configured to allow access with great granularity; gitolite is
+written in Perl and has a lot of documentation.
 
 Web interface to browse repositories can be created using `gitweb
 <https://git.kernel.org/cgit/git/git.git/tree/gitweb>`_ and `cgit