git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] git-filter-branch.txt: use {caret} for ^
@ 2020-02-02 19:33 Martin Ågren
  2020-02-03 11:45 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Ågren @ 2020-02-02 19:33 UTC (permalink / raw)
  To: git; +Cc: Elijah Newren

In this paragraph, we have a few instances of the '^' character, which
we give as "\^". This renders well with AsciiDoc ("^"), but Asciidoctor
renders it literally as "\^". Dropping the backslashes renders fine
with Asciidoctor, but not AsciiDoc... Let's use "{caret}" instead, to
avoid these escaping problems.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/git-filter-branch.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
index a530fef7e5..9e58d34c6a 100644
--- a/Documentation/git-filter-branch.txt
+++ b/Documentation/git-filter-branch.txt
@@ -467,9 +467,9 @@ impossible for a backward-compatible implementation to ever be fast:
 
 * In editing files, git-filter-branch by design checks out each and
   every commit as it existed in the original repo.  If your repo has
-  10\^5 files and 10\^5 commits, but each commit only modifies 5
-  files, then git-filter-branch will make you do 10\^10 modifications,
-  despite only having (at most) 5*10^5 unique blobs.
+  10{caret}5 files and 10{caret}5 commits, but each commit only modifies 5
+  files, then git-filter-branch will make you do 10{caret}10 modifications,
+  despite only having (at most) 5*10{caret}5 unique blobs.
 
 * If you try and cheat and try to make git-filter-branch only work on
   files modified in a commit, then two things happen
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-03 21:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-02 19:33 [PATCH] git-filter-branch.txt: use {caret} for ^ Martin Ågren
2020-02-03 11:45 ` Jeff King
2020-02-03 20:36   ` git-filter-branch.txt: wrap "maths" notation in backticks Martin Ågren
2020-02-03 20:40     ` Elijah Newren
2020-02-03 21:03     ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).