summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://a-or-b.myopenid.com/ <http://a-or-b.myopenid.com/@web>2013-08-28 01:43:13 +0000
committerGravatar admin <admin@branchable.com>2013-08-28 01:43:13 +0000
commitf9ed14d326dd8352fbb17377280cfef11c07f539 (patch)
treea720ebc1134fb497fcdda9733b15488a034d8548
parentad9ca690714d32853dc61bcbfed68b66c8952325 (diff)
-rw-r--r--doc/todo/Wishlist:_additional_environment_variables_for_hooks.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/Wishlist:_additional_environment_variables_for_hooks.mdwn b/doc/todo/Wishlist:_additional_environment_variables_for_hooks.mdwn
new file mode 100644
index 000000000..6e852b9f2
--- /dev/null
+++ b/doc/todo/Wishlist:_additional_environment_variables_for_hooks.mdwn
@@ -0,0 +1,14 @@
+It would be nice if a couple of additional environment variables to be set for hook uses.
+
+In particular:
+
+ GIT_ANNEX_DIRECT=`git config annex.direct`
+
+and
+
+ GIT_TOP_LEVEL=`git rev-parse --show-toplevel`
+
+
+I've made some changes to flickrannex to allow the sub-directories above the uploaded image to be added as tags. This change has been merged into trunk: [[https://github.com/TobiasTheViking/flickrannex]]
+
+What I needed was both the environment variables mentioned above. One is set as part of the annex-hook and the other I guestimate from the file path. If it was set in git-annex it would be much cleaner (and accurate). So...I think this info would be useful for other hook.