[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. f5722661c233e5c6bab7bb07939d9cffebc6189d

jesse jesse at bestpractical.com
Thu Jan 29 10:13:52 EST 2009


The branch, master has been updated
       via  f5722661c233e5c6bab7bb07939d9cffebc6189d (commit)
      from  d2eb30d1abc1533530455517af464ed013d9a038 (commit)

Summary of changes:
 bin/git-sd |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100755 bin/git-sd

- Log -----------------------------------------------------------------
commit f5722661c233e5c6bab7bb07939d9cffebc6189d
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Jan 29 10:13:36 2009 -0500

    Added git-sd command as the first step toward git integration

diff --git a/bin/git-sd b/bin/git-sd
new file mode 100755
index 0000000..6ab3dfe
--- /dev/null
+++ b/bin/git-sd
@@ -0,0 +1,10 @@
+#!/bin/sh
+replica=`git config --get sd.local-replica`
+if [ "fnord$replica" != "fnord" ]; then
+    SD_REPO=$replica exec sd $@
+else 
+    echo "You don't appear to have an sd.local-replica defined in your .git/config"
+    echo "To remedy this, you want to run a command like:\n"
+    echo "  git config --add sd.local-replica \"~/.sd-for-this-project\"\n"
+    echo "  (Substituting, of course, the local SD database replica for this project)"
+fi

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list