]> git.ipfire.org Git - thirdparty/git.git/commitdiff
format-patch (doc): clarify --base=auto
authorJunio C Hamano <gitster@pobox.com>
Sat, 23 Oct 2021 21:01:33 +0000 (14:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Oct 2021 21:33:20 +0000 (14:33 -0700)
What --base=auto tells format-patch is to compute the base commit
itself, using the tracking information.  It does not make anything
track anything.

Tighten the phrasing so that it won't be copied and pasted to other
places.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-format-patch.txt

index fe2f69d36e601081192b5fd857f79999cc911dde..113eabc107ca94f801eca64591421065a2bc54b4 100644 (file)
@@ -689,10 +689,10 @@ You can also use `git format-patch --base=P -3 C` to generate patches
 for A, B and C, and the identifiers for P, X, Y, Z are appended at the
 end of the first message.
 
-If set `--base=auto` in cmdline, it will track base commit automatically,
-the base commit will be the merge base of tip commit of the remote-tracking
+If set `--base=auto` in cmdline, it will automatically compute
+the base commit as the merge base of tip commit of the remote-tracking
 branch and revision-range specified in cmdline.
-For a local branch, you need to track a remote branch by `git branch
+For a local branch, you need to make it to track a remote branch by `git branch
 --set-upstream-to` before using this option.
 
 EXAMPLES