[csw-devel] [POLICY] mGAR v2: Use git add -p during makepatch

Ben Walton bwalton at opencsw.org
Sun Feb 6 16:39:32 CET 2011


I like this patch, but we'll want to let people know about it and give a quick intro on howe to use it.

Thanks
-Ben 

Maciej Blizinski <maciej at opencsw.org> wrote:

This allows to create a series of patches from a single editing session. --- gar/v2/gar.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gar/v2/gar.mk b/gar/v2/gar.mk index 26ab578..c9cca43 100644 --- a/gar/v2/gar.mk +++ b/gar/v2/gar.mk @@ -490,7 +490,7 @@ makepatch-modulated: $(FILEDIR) 	@( if [ -d "$(WORKSRC)/.git" ]; then \ 		echo " ==> Makepatch: Looking for changes in modulation $(MODULATION)"; \ 		cd $(WORKSRC); \ -		git add -u; \ +		git add -u -p; \ 		git diff --cached --quiet; \ 		if test $$? -eq 0; then \ 			echo "No changes."; \ -- 1.7.3.2 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20110206/9f4a1014/attachment-0001.html>


More information about the devel mailing list