[llvm] e4e9e10 - git bisect docs: formatting tweaks

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 12:48:08 PST 2020


Author: Nico Weber
Date: 2020-02-10T15:47:59-05:00
New Revision: e4e9e106b9a236f94948c3bfa0ab521a81453718

URL: https://github.com/llvm/llvm-project/commit/e4e9e106b9a236f94948c3bfa0ab521a81453718
DIFF: https://github.com/llvm/llvm-project/commit/e4e9e106b9a236f94948c3bfa0ab521a81453718.diff

LOG: git bisect docs: formatting tweaks

Added: 
    

Modified: 
    llvm/docs/GitBisecting.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/GitBisecting.rst b/llvm/docs/GitBisecting.rst
index d16b2fd5374c..8f44e351a085 100644
--- a/llvm/docs/GitBisecting.rst
+++ b/llvm/docs/GitBisecting.rst
@@ -88,10 +88,13 @@ Here's how LLVM's history currently looks:
  
 ``A`` is the first commit in LLVM ever, ``97724f18c79c``.
 
-``B`` is the first commit in MLIR, ``aed0d21a62db``.  ``D`` is the merge commit
-that merged MLIR into the main LLVM repository, ``0f0d0ed1c78f``. ``C`` is the
-last commit in MLIR before it got merged, ``0f0d0ed1c78f^2``. (The ``^n``
-modifier selects the n'th parent of a merge commit.)
+``B`` is the first commit in MLIR, ``aed0d21a62db``.
+
+``D`` is the merge commit that merged MLIR into the main LLVM repository,
+``0f0d0ed1c78f``.
+
+``C`` is the last commit in MLIR before it got merged, ``0f0d0ed1c78f^2``. (The
+``^n`` modifier selects the n'th parent of a merge commit.)
 
 ``git bisect`` goes through all parent revisions. Due to the way MLIR was
 merged, at every revision at ``C`` or earlier, *only* the ``mlir/`` directory
@@ -103,8 +106,12 @@ follow the first parent of ``D``.
 
 The best workaround is to pass a list of directories to ``git bisect``:
 If you know the bug is due to a change in llvm, clang, or compiler-rt, use
-``git bisect start -- clang llvm compiler-rt``. That way, the commits in
-``mlir`` are never evaluated.
+
+  .. code-block:: bash
+
+     git bisect start -- clang llvm compiler-rt
+
+That way, the commits in ``mlir`` are never evaluated.
 
 Alternatively, ``git bisect skip aed0d21a6 aed0d21a6..0f0d0ed1c78f`` explicitly
 skips all commits on that branch. It takes 1.5 minutes to run on a fast


        


More information about the llvm-commits mailing list