hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "GitAndHadoop" by SteveLoughran
Date Fri, 18 Dec 2009 14:09:16 GMT
Dear Wiki user,

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

The "GitAndHadoop" page has been changed by SteveLoughran.
The comment on this change is: how to get a diff of the last check in.
http://wiki.apache.org/hadoop/GitAndHadoop?action=diff&rev1=8&rev2=9

--------------------------------------------------

  }}}
  It is essential that patches for JIRA issues are generated with the {{{--no-prefix}}} option.
Without that an extra directory path is listed, and the patches can only be applied with a
{{{patch -p1}}} call, ''which Hudson does not know to do''. If you want your patches to take,
this is what you have to do. You can of course test this yourself by using a command like
{{{patch -p0 << ../outgoing/HDFS-775.1}}} in a copy of the SVN source tree to test that
your patch takes.
  
+ If you have checked in your patch, then you need to refer to the patch by name (SHA1 checksum,
and that of the preceeding patch. If it was the last patch and nothing else changed, this
is easy.
+ {{{
+ git diff --no-prefix HEAD~1 HEAD
+ }}}
+ 

Mime
View raw message