git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[filter-repo PATCH] fix links to git-fast-import

From
Todd Zullinger <tmz@pobox.com>
Date
Sep 24, 2022, 03:37 UTC
Message-ID
<20220924033708.2409170-1-tmz@pobox.com>

The name of the html and man page for `git-fast-import` is missing the `git-` prefix. Add it where appropriate.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
Hi Elijah,

I noticed the link to git-fast-import.html in git-filter-repo.html was missing the `git-` prefix. The man page similarly lacked it when referencing it.

 html/git-filter-repo.html | 2 +-
 man1/git-filter-repo.1    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/git-filter-repo.html b/html/git-filter-repo.html
index 3143fd9..5119fa2 100644
--- a/html/git-filter-repo.html
+++ b/html/git-filter-repo.html
@@ -2167,7 +2167,7 @@ that filter-repo uses bytestrings (see
 instead of strings.</p></div>
 <div class="paragraph"><p>There are four callbacks that allow you to operate directly on raw
 objects that contain data that&#8217;s easy to write in
-<a href="fast-import.html">fast-import(1)</a> format:</p></div>
+<a href="git-fast-import.html">git-fast-import(1)</a> format:</p></div>
 <div class="listingblock">
 <div class="content">
 <pre><code>--blob-callback
diff --git a/man1/git-filter-repo.1 b/man1/git-filter-repo.1
index 188fd2a..9f9bbfc 100644
--- a/man1/git-filter-repo.1
+++ b/man1/git-filter-repo.1
@@ -1512,7 +1512,7 @@ def foo_callback(foo):
 .sp
 Thus, you just need to make sure your \fIBODY\fR modifies and returns \fIfoo\fR appropriately\&. One important thing to note for all callbacks is that filter\-repo uses bytestrings (see \m[blue]\fBhttps://docs\&.python\&.org/3/library/stdtypes\&.html#bytes\fR\m[]) everywhere instead of strings\&.
 .sp
-There are four callbacks that allow you to operate directly on raw objects that contain data that\(cqs easy to write in \fBfast-import\fR(1) format:
+There are four callbacks that allow you to operate directly on raw objects that contain data that\(cqs easy to write in \fBgit-fast-import\fR(1) format:
 .sp
 .if n \{\
 .RS 4
-- 
2.38.0.rc1
Next: Elijah Newren
Message 1 of 4 in “fix links to git-fast-import”
  1. fix links to git-fast-importTodd Zullinger, Sep 24, 2022
  2. Elijah NewrenSep 24, 2022
  3. Todd ZullingerSep 24, 2022
  4. Elijah NewrenSep 25, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.