summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-24 16:29:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-24 16:29:41 -0400
commit3a81b778c2c898096389765a872617af961f2914 (patch)
tree625f374cc1d1d6183c09fafe8b677f2e0b0fb247 /doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn
parent1c23cb1d0127a70fbba35fa4676f34dfa4fbace3 (diff)
bug triage; add new 'confirmed' tag
Diffstat (limited to 'doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn')
-rw-r--r--doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn b/doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn
index 4d60c96c8..fbe46ab2d 100644
--- a/doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn
+++ b/doc/bugs/git_annex_sync_in_direct_mode_does_not_honor_skip-worktree.mdwn
@@ -33,3 +33,5 @@ I'd like to use the skip-worktree scheme in order to be able to rm the symlink f
I did a little digging in the code, and it looks like the source of this is the stageDirect step done specifically by `git annex sync` in direct repos (which makes sense, since indirect repos work). It does `git ls-files --others --exclude-standard --stage`. This list includes files marked skip-worktree, which means skip-worktree files would be treated like normal, and deleted because it's no longer there. There is an additional `-t` argument that could be added to ls-files that would provide the tag field to indicate if a file was marked skip-worktree, and they could be filtered out of processing.
I wonder if this would have side effects, or if there are other places in the code where skip-worktree files would need to be handled, though. I'm particularly motivated to solve this, so let me know if it doesn't look like it would get looked at right away, and I'll have an excuse to get a Haskell dev environment setup again and shake the rust off.
+
+[[!tag confirmed]]