diff options
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | v4l/scripts/strip-trailing-whitespaces.sh | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -32,6 +32,7 @@ commit cvscommit hgcommit change changes changelog:: whitespace @hg log -v -r -1 @echo "*** If not ok, do \"hg rollback\" and \"make commit\" again" +qrefresh: Q=q qrefresh:: whitespace cd $(BUILD_DIR); scripts/cardlist; cd .. v4l/scripts/prep_commit_msg.pl -q $(TMP)/v4l_hg_whitespace > \ @@ -49,5 +50,5 @@ push:: whitespace whitespaces: @echo "Cleaning bad whitespaces" - @v4l/scripts/strip-trailing-whitespaces.sh fast | \ + @v4l/scripts/strip-trailing-whitespaces.sh $(Q)fast | \ tee $(TMP)/v4l_hg_whitespace | patch -p0 diff --git a/v4l/scripts/strip-trailing-whitespaces.sh b/v4l/scripts/strip-trailing-whitespaces.sh index a546a0b9f..9bd963025 100755 --- a/v4l/scripts/strip-trailing-whitespaces.sh +++ b/v4l/scripts/strip-trailing-whitespaces.sh @@ -11,6 +11,8 @@ if [ "x$1" = "xfast" ]; then files="hg status -man" +elif [ "x$1" = "xqfast" ]; then + files="hg status --rev -2 -man" elif [ "x$1" = "xmanifest" ]; then files="hg manifest | cut '-d ' -f3" else |