]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
CONTRIBUTING.d/git: mkdir(1) parent directory before writing to file
authorAlejandro Colomar <alx@kernel.org>
Mon, 16 Dec 2024 14:09:52 +0000 (15:09 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 16 Dec 2024 14:10:28 +0000 (15:10 +0100)
Reported-by: Elliott Hughes <enh@google.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
CONTRIBUTING.d/git

index 5fe42ea296c922b0e225407d98b3be9fc9744380..40c5c31441cf4935485324d334a6b9eba2efe01a 100644 (file)
@@ -14,6 +14,7 @@ Description
        manual page.
 
            $ git config --global diff.man.xfuncname '^\.S[SHsh] .*$';
+           $ mkdir -p ~/.config/git/;
            $ echo '*.[0-9]* diff=man' >>~/.config/git/attributes;
 
    git-format-patch(1)