summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-07-07 17:04:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-07-07 17:05:53 -0400
commitff531b96778abba9e992103a644ba80f7ddf2397 (patch)
tree7eb6242074a805b0bff0c62740613ef7cbc6e43d /doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn
parent2fb771f135ad0a5adec0349a6270cadc518e04f6 (diff)
parentdac158c7b206b2f4d82ae6b993189e8148ad5f09 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn')
-rw-r--r--doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn b/doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn
new file mode 100644
index 000000000..af807b65d
--- /dev/null
+++ b/doc/bugs/git_annex_add_eats_files_when_filename_is_too_long.mdwn
@@ -0,0 +1,10 @@
+Recently I ran into the following situation under Ubuntu with an encrypted home directory (which shortens the length that filenames can be):
+
+ $ git annex add 687474703a2f2f6d656469612e74756d626c722e636f6d2f74756d626c725f6c656673756557324c703171663879656b2e676966.gif
+ add 687474703a2f2f6d656469612e74756d626c722e636f6d2f74756d626c725f6c656673756557324c703171663879656b2e676966.gif failed
+ git-annex: /home/lhuhn/annex/.git/annex/tmp/155_518_WORM-s426663-m1310064100--687474703a2f2f6d656469612e74756d626c722e636f6d2f74756d626c725f6c656673756557324c703171663879656b2e676966.gif.log: openBinaryFile: invalid argument (File name too long)
+ git-annex: 1 failed
+
+The file seems to be completely gone. It no longer exists in the current directory, or under .git/annex.
+
+I don't mind horribly that git-annex failed due to the name length limit, but it shouldn't have deleted my file in the process (fortunately the file wasn't very important, or hard to recover).