summaryrefslogtreecommitdiff
path: root/doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-03 13:08:03 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-03 13:08:03 -0400
commit75e299069cb2dbe7b6f69de8b7eb87f3c50b3e00 (patch)
treea5d26755249e46ca15e0ff37508e1956ffebcc16 /doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull
parentb4c63ccbe624cf131810cedb6200d954cdd3bea2 (diff)
not a bug
Diffstat (limited to 'doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull')
-rw-r--r--doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull/comment_1_b913175c341d39e6b9d354213677248c._comment20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull/comment_1_b913175c341d39e6b9d354213677248c._comment b/doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull/comment_1_b913175c341d39e6b9d354213677248c._comment
new file mode 100644
index 000000000..4e22e90ce
--- /dev/null
+++ b/doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull/comment_1_b913175c341d39e6b9d354213677248c._comment
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-05-03T17:03:25Z"
+ content="""
+Note that dropkey does *not* check if other copies exist, so the --force is
+unncessary; eg it's always forced by default.
+
+Anyway, dropkey will indicate a failure if it's actually unable to drop the
+content for some reason, eg a permissions problem or the content is locked
+to prevent it being dropped right now, or other unanticipated error.
+But, if the content of the key is not present, it's successfully
+gotten the repo into the requested state.
+
+Similarly, git-annex transferkey will return success if the key it was
+supposed to download is already present.
+
+I don't consider this a bug, although am willing to be convinced
+otherwise..
+"""]]