summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-05 12:27:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-05 12:27:27 -0400
commit211e83af2f4a417ed5eaf8c544664c8c63b11da2 (patch)
treec135b20b0c9b1ed6fc949766046e739a5fc38a0b /doc
parentfe139f3db79a5149e9a174f81daad483ec6562db (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/calckey_cannot_be_used_outside_of_git_repo/comment_1_c54b53c5f81132bedf75eb6b439a202d._comment21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/calckey_cannot_be_used_outside_of_git_repo/comment_1_c54b53c5f81132bedf75eb6b439a202d._comment b/doc/todo/calckey_cannot_be_used_outside_of_git_repo/comment_1_c54b53c5f81132bedf75eb6b439a202d._comment
new file mode 100644
index 000000000..6a9f82302
--- /dev/null
+++ b/doc/todo/calckey_cannot_be_used_outside_of_git_repo/comment_1_c54b53c5f81132bedf75eb6b439a202d._comment
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-09-05T16:17:22Z"
+ content="""
+Well, calckey's behavior is influenced by the annex.backends setting,
+so it might behave differently when run in a different git repo, or outside
+any git repo.
+
+In fact, `git annex calckey` currently can be run in a git repo that is not
+a git-annex repo; it does not check if the repo is initialized for
+git-annex (which many commands do). The failure about "Not in a git
+repository." comes when it tries to run code in the Annex monad, which
+requires a git repository.
+
+To support being run without being in a git repo at all would
+really need an entirely separate code path to be implemented, not using the
+Annex monad, and so necessarily not looking at git configs. It's doable,
+but it would be a lot of work; I'd need some convincing motivation to add
+a lot of code to accomplish that.
+"""]]