2012-05-23 Brian Cameron <
[email protected]>
* scripts/git-setup, scripts/git-format-patch: Add scripts to make it
easier to generate patches for modules that use GIT.
--- a/ChangeLog Mon May 21 18:48:13 2012 +0000
+++ b/ChangeLog Wed May 23 17:20:05 2012 +0000
@@ -1,3 +1,8 @@
+2012-05-23 Brian Cameron <[email protected]>
+
+ * scripts/git-setup, scripts/git-format-patch: Add scripts to make it
+ easier to generate patches for modules that use GIT.
+
2012-05-17 Brian Cameron <[email protected]>
* specs/SUNWat-spi2-core.spec: Bump to 2.4.2.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/git-format-patch Wed May 23 17:20:05 2012 +0000
@@ -0,0 +1,6 @@
+# If you cd into a build directory, like $HOME/packages/PKGS/(module)/(module)
+# and run the git-setup command, it will setup the directory for you with git.
+# Then make changes to the file and you can run the git-format-patch script
+# to generate a patch.
+#
+git format-patch -1 $@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/git-setup Wed May 23 17:20:05 2012 +0000
@@ -0,0 +1,6 @@
+# If you cd into a build directory, like $HOME/packages/PKGS/(module)/(module)
+# and run the git-setup command, it will setup the directory for you with git.
+# Then make changes to the file and you can run the git-format-patch script
+# to generate a patch.
+#
+git init && git add --ignore-errors .; git commit -m "`basename $PWD`"