aboutsummaryrefslogtreecommitdiff
path: root/Documentation/BK-usage/gcapatch
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/BK-usage/gcapatch')
-rwxr-xr-xDocumentation/BK-usage/gcapatch8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/BK-usage/gcapatch b/Documentation/BK-usage/gcapatch
new file mode 100755
index 00000000000..aaeb17dc7c7
--- /dev/null
+++ b/Documentation/BK-usage/gcapatch
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# Purpose: Generate GNU diff of local changes versus canonical top-of-tree
+#
+# Usage: gcapatch > foo.patch
+#
+
+bk export -tpatch -hdu -r`bk repogca bk://linux.bkbits.net/linux-2.5`,+