File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -100,24 +100,8 @@ Here's how LLVM's history currently looks:
100100merged, at every revision at ``C `` or earlier, *only * the ``mlir/ `` directory
101101exists, and nothing else does.
102102
103- As of early 2020, there is no flag to ``git bisect `` to tell it to not
104- descend into all reachable commits. Ideally, we'd want to tell it to only
105- follow the first parent of ``D ``.
106-
107- The best workaround is to pass a list of directories to ``git bisect ``:
108- If you know the bug is due to a change in llvm, clang, or compiler-rt, use
109-
110- .. code-block :: bash
111-
112- git bisect start -- clang llvm compiler-rt
113-
114- That way, the commits in ``mlir `` are never evaluated.
115-
116- Alternatively, ``git bisect skip aed0d21a6 aed0d21a6..0f0d0ed1c78f `` explicitly
117- skips all commits on that branch. It takes 1.5 minutes to run on a fast
118- machine, and makes ``git bisect log `` output unreadable. (``aed0d21a6 `` is
119- listed twice because git ranges exclude the revision listed on the left,
120- so it needs to be ignored explicitly.)
103+ ``git bisect --first-parent `` tells git to only descend into the first parent
104+ of commits, meaning ``B..C `` will never be searched from ``D ``.
121105
122106More Resources
123107==============
You can’t perform that action at this time.
0 commit comments