]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation/howto/maintain-git.txt: fix Meta/redo-jch.sh invocation
authorTaylor Blau <me@ttaylorr.com>
Wed, 26 Oct 2022 20:15:48 +0000 (16:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Oct 2022 20:35:41 +0000 (13:35 -0700)
The Meta/redo-jch.sh script is generated a few lines earlier by running:

    $ Meta/Reintegrate master..seen >Meta/redo-jch.sh

But the resulting script is not necessarily executable. Later mentions
of this script invoke it with sh (instead of directly), but this one is
an odd one out.

Update the documentation to invoke the Meta/redo-jch.sh script with sh
in case the maintainer has not made the script executable.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/howto/maintain-git.txt

index a67130debb63dc99cbd860fd7b31fb187b1f9571..215e2edb0f5f47fac8e1cf5dea91c7f8d1881d5b 100644 (file)
@@ -256,7 +256,7 @@ by doing the following:
    merged to 'next', add it at the end of the list.  Then:
 
      $ git checkout -B jch master
-     $ Meta/redo-jch.sh -c1
+     $ sh Meta/redo-jch.sh -c1
 
    to rebuild the 'jch' branch from scratch.  "-c1" tells the script
    to stop merging at the first line that begins with '###'