[geany/geany] 084f43: Suggest to provide git-formatted patches rather than `git diff` ones

Colomban Wendling git-noreply at xxxxx
Thu Jul 26 00:04:48 UTC 2012


Branch:      refs/heads/document-messages
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Sat, 02 Jun 2012 20:08:47
Commit:      084f43ed71151adb1fa9efa842d5b055e4165e83
             https://github.com/geany/geany/commit/084f43ed71151adb1fa9efa842d5b055e4165e83

Log Message:
-----------
Suggest to provide git-formatted patches rather than `git diff` ones


Modified Paths:
--------------
    doc/geany.txt

Modified: doc/geany.txt
11 files changed, 11 insertions(+), 0 deletions(-)
===================================================================
@@ -4998,6 +4998,17 @@ After you are happy with your changes, create a patch e.g. by using::
 
     % git diff geany.txt > foo.patch
 
+or even better, by creating a Git-formatted patch which will keep authoring
+and description data, by first committing your changes (doing so in a fresh
+new branch is recommended for `matser` not to diverge from upstream) and then
+using git format-patch::
+
+    % git checkout -b my-documentation-changes # create a fresh branch
+    % git commit geany.txt
+    Write a good commit message...
+    % git format-patch HEAD^
+    % git checkout master # go back to master
+
 and then submit that file to the mailing list for review.
 
 Also you can clone the Geany repository at GitHub and send a pull request.


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list