[csw-devel] SF.net SVN: gar:[10208] csw/mgar/gar/v2/gar.lib.mk
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sat Jun 12 20:36:09 CEST 2010
Revision: 10208
http://gar.svn.sourceforge.net/gar/?rev=10208&view=rev
Author: bdwalton
Date: 2010-06-12 18:36:09 +0000 (Sat, 12 Jun 2010)
Log Message:
-----------
gar/v2: support git commits for old {gz,bz,xz} compressed patch files too; noticed by Maciej
Modified Paths:
--------------
csw/mgar/gar/v2/gar.lib.mk
Modified: csw/mgar/gar/v2/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2/gar.lib.mk 2010-06-12 18:14:43 UTC (rev 10207)
+++ csw/mgar/gar/v2/gar.lib.mk 2010-06-12 18:36:09 UTC (rev 10208)
@@ -457,18 +457,24 @@
xz-patch-%:
@echo " ==> Applying patch $(DOWNLOADDIR)/$*"
@xz -dc $(DOWNLOADDIR)/$* | $(GARPATCH)
+ @( cd $(WORKSRC); git add -A; \
+ git commit -am "old xz-style patch: $*"; )
@$(MAKECOOKIE)
# apply bzipped patches
bz-patch-%:
@echo " ==> Applying patch $(DOWNLOADDIR)/$*"
@bzip2 -dc $(DOWNLOADDIR)/$* | $(GARPATCH)
+ @( cd $(WORKSRC); git add -A; \
+ git commit -am "old bz-style patch: $*"; )
@$(MAKECOOKIE)
# apply gzipped patches
gz-patch-%:
@echo " ==> Applying patch $(DOWNLOADDIR)/$*"
@gzip -dc $(DOWNLOADDIR)/$* | $(GARPATCH)
+ @( cd $(WORKSRC); git add -A; \
+ git commit -am "old gz-style patch: $*"; )
@$(MAKECOOKIE)
# apply normal patches (git format-patch output or old-style diff -r)
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