Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Lear <rael@zopyra.com>2007-01-27 16:21:53 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-28 00:46:59 +0300
commit16507fcf0a9991976815972faa253d77804d6f35 (patch)
treeeb62b3bb12b1ca375f18dd61a8173e34790b4a9f /Documentation/SubmittingPatches
parentd67778eccdf778f0fc252aaade8a47c23bfebbd6 (diff)
Document --check option to git diff.
Signed-off-by: Bill Lear <rael@zopyra.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/SubmittingPatches')
-rw-r--r--Documentation/SubmittingPatches3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index 41b76d8a4a..ce85d06c62 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -23,7 +23,8 @@ probably need to split up your commit to finer grained pieces.
Oh, another thing. I am picky about whitespaces. Make sure your
changes do not trigger errors with the sample pre-commit hook shipped
-in templates/hooks--pre-commit.
+in templates/hooks--pre-commit. To help ensure this does not happen,
+run git diff --check on your changes before you commit.
(2) Generate your patch using git tools out of your commits.