From 2425a8971acac9babc4dd4e94ae7d2c0221986f5 Mon Sep 17 00:00:00 2001
From: Daira Hopwood <daira@jacaranda.org>
Date: Thu, 5 Sep 2013 19:03:35 +0100
Subject: [PATCH] Sun Nov 20 23:24:26 GMT 2011  david-sarah@jacaranda.org   *
 Use a private/drop_upload_dircap file instead of the
 [drop_upload]upload.dircap option in tahoe.cfg. Fail if the upload.dircap
 option is used, or options are missing. Also updates tests and docs. fixes
 #1593

---
 Makefile                              |  4 ++++
 misc/build_helpers/test-git-ignore.py | 14 ++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 misc/build_helpers/test-git-ignore.py

diff --git a/Makefile b/Makefile
index ba83cdbd..1134e47d 100644
--- a/Makefile
+++ b/Makefile
@@ -202,6 +202,10 @@ test-darcs-boringfile:
 	$(MAKE)
 	$(PYTHON) misc/build_helpers/test-darcs-boringfile.py
 
+test-git-ignore:
+	$(MAKE)
+	$(PYTHON) misc/build_helpers/test-git-ignore.py
+
 test-clean:
 	find . |grep -vEe "_darcs|allfiles.tmp|src/allmydata/_(version|appname).py" |sort >allfiles.tmp.old
 	$(MAKE)
diff --git a/misc/build_helpers/test-git-ignore.py b/misc/build_helpers/test-git-ignore.py
new file mode 100644
index 00000000..832f775d
--- /dev/null
+++ b/misc/build_helpers/test-git-ignore.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+import sys
+from subprocess import Popen, PIPE
+
+cmd = ["git", "status", "--porcelain"]
+p = Popen(cmd, stdout=PIPE)
+output = p.communicate()[0]
+print output
+if output == "":
+    sys.exit(0)
+sys.exit(1)
+
+
-- 
2.45.2