summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-05 13:57:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-05 13:57:26 -0400
commit3bcc0efea0cfa00ec4bca033a61678a74f936332 (patch)
treed7fedd181f220dead43a23e593938e70c57de5b6
parent4fffe929ed7e06535a2359b93ae4c458e043567a (diff)
comment
-rw-r--r--doc/bugs/__34__sha256sum_failed__34___for_some_files_with_newest_Android_client/comment_1_f5643bafe724c98a6dc810adb2ea931a._comment24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/bugs/__34__sha256sum_failed__34___for_some_files_with_newest_Android_client/comment_1_f5643bafe724c98a6dc810adb2ea931a._comment b/doc/bugs/__34__sha256sum_failed__34___for_some_files_with_newest_Android_client/comment_1_f5643bafe724c98a6dc810adb2ea931a._comment
new file mode 100644
index 000000000..7fe44973f
--- /dev/null
+++ b/doc/bugs/__34__sha256sum_failed__34___for_some_files_with_newest_Android_client/comment_1_f5643bafe724c98a6dc810adb2ea931a._comment
@@ -0,0 +1,24 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-09-05T17:19:43Z"
+ content="""
+That warning message indicates that the `sha256sum` command is exiting nonzero.
+git-annex handles that failure by using its internal SHA, which apparently
+succeeds, because the `fsck` output ends with "ok". Indeed, I don't see any
+indication that this is causing any problems, other than a warning
+message.
+
+The size variation is due to git-annex only using `sha256sum` for
+larger files, where it can be faster than the internal SHA.
+
+Android is supposed to have `sha256sum` and `sha1sum` available
+(but not some of the other sizes). They are included in the git-annex
+bundle, in eg /data/data/ga.androidterm/bin/ along with lots of other
+busybox utilities.
+
+So, the problem seems to be that either those commands are not in your
+android device somehow, or indeed a reversion in the git-annex Android
+build has lost them, or perhaps they're included but are always failing to
+work.
+"""]]