diff options
author | Vincent Pit <perl@profvince.com> | 2008-12-22 21:15:14 +0100 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2008-12-22 21:15:14 +0100 |
commit | 09645c26bf855249cfe60e690510ba26afeaf40c (patch) | |
tree | 64f22f24e4d874d6643d22dc78824c1e239486c2 /pod/perlrepository.pod | |
parent | 3b46207fed7bf69caa32c27c04bd239cfb64cb53 (diff) | |
download | perl-09645c26bf855249cfe60e690510ba26afeaf40c.tar.gz |
Note the --author option of git commit, and therefore explain how to apply raw diffs.
Diffstat (limited to 'pod/perlrepository.pod')
-rw-r--r-- | pod/perlrepository.pod | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 34d464e0af..80e2bf8519 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -304,11 +304,16 @@ switch into it: % git checkout -b experimental -Now we should apply the patch: +Patches that were formatted by C<git format-patch> are applied with C<git am>: % git am 0001-Rename-Leon-Brocard-to-Orange-Brocard.patch Applying Rename Leon Brocard to Orange Brocard +If just a raw diff is provided, it is also possible use this two-step process: + + % git apply bugfix.diff + % git commit -am "Some fixing" --author="That Guy <that.guy@internets.com>" + Now we can inspect the change: % git log |