git-apply --reject
authorJunio C Hamano <junkio@cox.net>
Thu, 17 Aug 2006 00:55:29 +0000 (17:55 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 17 Aug 2006 08:23:08 +0000 (01:23 -0700)
commit57dc397cff09bfabd79ddbc38b704cdd0c2bc6e3
treecfcfc11f7699b2e3b355c8ffb98648e9dbe072b7
parent2cda1a214e9d2e362242027b4b622ecb3d9260de
git-apply --reject

With the new flag "--reject", hunks that do not apply are sent to
the standard output, and the usable hunks are applied.  The command
itself exits with non-zero status when this happens, so that the
user or wrapper can take notice and sort the remaining mess out.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-apply.txt
builtin-apply.c
t/t4117-apply-reject.sh [new file with mode: 0755]