HADOOP-8918. test-patch.sh is parsing modified files wrong. Contributed by Raja Aluri.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1397411 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2012-10-12 01:17:10 +00:00
parent 4e64e6f860
commit e8693d08b2
2 changed files with 4 additions and 1 deletions

View File

@ -763,7 +763,7 @@ findModule (){
findModules () { findModules () {
# Come up with a list of changed files into $TMP # Come up with a list of changed files into $TMP
TMP=/tmp/tmp.paths.$$ TMP=/tmp/tmp.paths.$$
$GREP '^+++\|^---' $PATCH_DIR/patch | cut -c '5-' | $GREP -v /dev/null | sort | uniq > $TMP $GREP '^+++ \|^--- ' $PATCH_DIR/patch | cut -c '5-' | $GREP -v /dev/null | sort | uniq > $TMP
# if all of the lines start with a/ or b/, then this is a git patch that # if all of the lines start with a/ or b/, then this is a git patch that
# was generated without --no-prefix # was generated without --no-prefix

View File

@ -259,6 +259,9 @@ Trunk (Unreleased)
HADOOP-8839. test-patch's -1 on @author tag presence doesn't cause HADOOP-8839. test-patch's -1 on @author tag presence doesn't cause
a -1 to the overall result (harsh) a -1 to the overall result (harsh)
HADOOP-8918. test-patch.sh is parsing modified files wrong.
(Raja Aluri via suresh)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-7761. Improve the performance of raw comparisons. (todd) HADOOP-7761. Improve the performance of raw comparisons. (todd)