summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-27 16:50:33 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-27 16:52:01 -0400
commitd2e0a94c5d5b14bc87b0cc7e90738235d9f975ad (patch)
treea27b746bd3eff35bb1090f281252ed3f8ad3fe4d /doc
parent8383afb1ec6a493fb7d3ca302be356ecc59dbc45 (diff)
comment & close
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks.mdwn2
-rw-r--r--doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks/comment_1_b795d0bfa64654bf82684da961815cea._comment22
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks.mdwn b/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks.mdwn
index 1bdc62174..80d5a3d25 100644
--- a/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks.mdwn
+++ b/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks.mdwn
@@ -16,3 +16,5 @@ This would allow me to do stuff like this:
$ find -type l -xtype l -print0 | xargs -0 mv -t ~/files_not_found
Admittedly, to do this now, you just have to stage the symlinks before you fix but there may be other situations where this is useful (and I can't think of anything else you would want 'fix --force' to do)..
+
+> Per my comment, this is not a good idea, so [[done]] --[[Joey]]
diff --git a/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks/comment_1_b795d0bfa64654bf82684da961815cea._comment b/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks/comment_1_b795d0bfa64654bf82684da961815cea._comment
new file mode 100644
index 000000000..f8eb04775
--- /dev/null
+++ b/doc/todo/__34__git-annex_fix__34___on_untracked__44___but_git-annexy_symlinks/comment_1_b795d0bfa64654bf82684da961815cea._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-03-27T20:48:07Z"
+ content="""
+Currently git-annex uses git-ls-files to find the files to act on.
+This would requires running git-ls-files twice, once with --others to find
+the files not checked into git.
+
+I don't like the added complexity, the slowdown for everyone else,
+etc.
+
+Also, I think it's very reasonable that git-annex commands do not
+act on files that are not checked into git (except for git-annex add of
+course). Acting on files that are not checked into git violates least
+surprise.
+
+So, just add the file to git if you want git-annex fix to
+act on it. You don't even have to commit the file, you can just
+stage it in the index, and then un-stage it after git-annex is done with
+it, if for some reason you don't want to check it into git.
+"""]]