You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2007/09/03 16:57:17 UTC

[Lucene-hadoop Wiki] Update of "HowToContribute" by Enis Soztutar

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by Enis Soztutar:
http://wiki.apache.org/lucene-hadoop/HowToContribute

The comment on the change is:
added patch command usage

------------------------------------------------------------------------------
   * comment code whose function or rationale is not obvious;
   * update documentation (e.g., ''package.html'' files, this wiki, etc.)
  
+ ==== Applying a patch ====
+ 
+ To apply a patch either you generated or found from JIRA, you can issue 
+ {{{
+ patch -p0 <cool_patch.patch
+ }}}
+ if you just want to check whether the patch applies you can run patch with --dry-run option
+ {{{
+ patch -p0 --dry-run <cool_patch.patch
+ }}}
+ 
  === Contributing your work ===
  
  Finally, patches should be attached to a bug report in [http://issues.apache.org/jira/browse/HADOOP Jira] with a comment that asks for a code review following our [:CodeReviewChecklist: code review checklist].