summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar j_k_234@b2b1aa189bf195cefd815fc0fe70e0ebbe2b8077 <j_k_234@web>2016-04-10 13:07:32 +0000
committerGravatar admin <admin@branchable.com>2016-04-10 13:07:32 +0000
commit5ef7451308679bb4afc70568129aa267f2e34952 (patch)
treed4edba68265d9bdd3476041d979d692b238f02da
parent02625cd3767d9fd5be07f1198b763fcb2b63da5d (diff)
-rw-r--r--doc/bugs/git-annex_smudge_fails_on_git_add.mdwn57
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_smudge_fails_on_git_add.mdwn b/doc/bugs/git-annex_smudge_fails_on_git_add.mdwn
new file mode 100644
index 000000000..61e90d184
--- /dev/null
+++ b/doc/bugs/git-annex_smudge_fails_on_git_add.mdwn
@@ -0,0 +1,57 @@
+### Please describe the problem.
+
+I want to be able to use "normal" git commands so I'm trying a v6 repo.
+I have attempted to set up `.gitattributes` to only annex non-text mime types. When I attempt to add something that would go into the annex, the `git-annex smudge` command fails.
+
+
+
+### What steps will reproduce the problem?
+
+See transcript below
+
+
+### What version of git-annex are you using? On what operating system?
+
+debian jessie; built from github using stack;installed to ~/.local/bin
+
+[[!format sh """
+git-annex version: 6.20160308-ge51f555
+build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotif
+y XMPP ConcurrentOutput TorrentParser MagicMime Feeds Quvi
+key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_51
+2 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
+remote types: git gcrypt S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
+local repository version: 6
+supported repository versions: 5 6
+upgrade supported from repository versions: 0 1 2 4 5
+"""]]
+
+### Please provide any additional information below.
+
+.gitattributes is:
+[[!format sh """
+* annex.largefiles=(not(mimetype=text/*))
+"""]]
+
+[[!format sh """
+# If you can, paste a complete transcript of the problem occurring here.
+# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
+
+renn:/tmp/gat$ git init && git annex init --version=6
+Initialized empty Git repository in /tmp/gat/.git/
+init ok
+(recording state in git...)
+renn:/tmp/gat$ cp ../tga/.gitattributes .
+renn:/tmp/gat$ git add .gitattributes
+renn:/tmp/gat$ cp ../tga/pkdconvweb.mov .
+renn:/tmp/gat$ git add pkdconvweb.mov
+error: cannot feed the input to external filter git-annex smudge --clean %f
+error: external filter git-annex smudge --clean %f failed
+
+
+# End of transcript or log.
+"""]]
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+
+No, I'm a first-time user. Thanks for this neat piece of software.