[csw-devel] SF.net SVN: gar:[10116] csw/mgar/gar/v2/gar.mk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Jun 8 02:08:34 CEST 2010


Revision: 10116
          http://gar.svn.sourceforge.net/gar/?rev=10116&view=rev
Author:   bdwalton
Date:     2010-06-08 00:08:34 +0000 (Tue, 08 Jun 2010)

Log Message:
-----------
gar/v2: change how git is used to collect changes for patch generation

Use git add -u instead of git add -A to add changes to the index prior
to the commit used to generate the patch in the makepatch target.
This means that only files existing after the original extract/patch
steps are looked at.  It is now safe to run configure, make changes
and then capture the patch...without grabbing things like config.log, etc.

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.mk

Modified: csw/mgar/gar/v2/gar.mk
===================================================================
--- csw/mgar/gar/v2/gar.mk	2010-06-07 21:17:21 UTC (rev 10115)
+++ csw/mgar/gar/v2/gar.mk	2010-06-08 00:08:34 UTC (rev 10116)
@@ -477,7 +477,7 @@
 	@( if [ -d "$(WORKSRC)/.git" ]; then \
 		echo " ==> Makepatch: Looking for changes in modulation $(MODULATION)"; \
 		cd $(WORKSRC); \
-		git add -A; \
+		git add -u; \
 		git diff --cached --quiet; \
 		if test $$? -eq 0; then \
 			echo "No changes."; \


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list