From b9fe4af3b8723d3f464af2d3b10e92efcd7d61ae Mon Sep 17 00:00:00 2001 From: CandyAngel Date: Fri, 27 Mar 2015 12:06:20 +0000 Subject: [PATCH] Fixed formatting --- ...ntracked__44___but_git-annexy_symlinks.mdwn | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 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 4b610b1c2a..1bdc62174e 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 @@ -4,15 +4,15 @@ Would it be possible for 'git annex fix' to work even on untracked symlinks (per This would allow me to do stuff like this: - $ cd ~/old_broken_annex - $ cp -t ~/other_annex/presentcheck * - $ cd ~/other_annex/presentcheck + $ cd ~/old_broken_annex + $ cp -t ~/other_annex/presentcheck * + $ cd ~/other_annex/presentcheck - ### This currently does nothing if the symlinks are untracked - $ git annex fix --force . - - $ find -type l -not -xtype l -print0 | xargs -0 git add - $ git commit -m "yay, we found some files!" - $ find -type l -xtype l -print0 | xargs -0 mv -t ~/files_not_found + ### This currently does nothing if the symlinks are untracked + $ git annex fix --force . + + $ find -type l -not -xtype l -print0 | xargs -0 git add + $ git commit -m "yay, we found some files!" + $ 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)..