summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2021-07-28 12:00:47 -0700
committerGitHub <noreply@github.com>2021-07-28 12:00:47 -0700
commit9e555289408f61be91f0250f7c84d808003e0504 (patch)
tree79060bf04d9c78713c623e4289ae549779afcedd /doc
parent65bff33ad9b508d8232dad4b35a377d32065505e (diff)
parent49bd30eb33e54081b11255a2862cea78278c6c27 (diff)
Merge pull request #126001 from est31/master
Add the -a param to the docs
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing/coding-conventions.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/contributing/coding-conventions.chapter.md b/doc/contributing/coding-conventions.chapter.md
index 2e795015e36e..f470e2bb80f7 100644
--- a/doc/contributing/coding-conventions.chapter.md
+++ b/doc/contributing/coding-conventions.chapter.md
@@ -520,7 +520,7 @@ If you do need to do create this sort of patch file, one way to do so is with gi
4. Use git to create a diff, and pipe the output to a patch file:
```ShellSession
- $ git diff > nixpkgs/pkgs/the/package/0001-changes.patch
+ $ git diff -a > nixpkgs/pkgs/the/package/0001-changes.patch
```
If a patch is available online but does not cleanly apply, it can be modified in some fixed ways by using additional optional arguments for `fetchpatch`: