From 032ee546c9cda12b4b85c05001220d47e8bbba4d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 7 Jul 2015 16:15:30 -0400 Subject: add: Stage symlinks the same as git add would, even if they are not a link to annexed content. --- ..._git_annex_add__187___for_symlinks_in_direct_mode.mdwn | 2 ++ .../comment_3_0039faa19e35eada1ff17eac6fbcab29._comment | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode/comment_3_0039faa19e35eada1ff17eac6fbcab29._comment (limited to 'doc/todo') diff --git a/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode.mdwn b/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode.mdwn index 196b8f420..751ee1942 100644 --- a/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode.mdwn +++ b/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode.mdwn @@ -6,3 +6,5 @@ Is there already a good way of adding symlinks in direct mode? If not, I would f Best regards, T. + +> [[fixed|done]] --[[Joey]] diff --git a/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode/comment_3_0039faa19e35eada1ff17eac6fbcab29._comment b/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode/comment_3_0039faa19e35eada1ff17eac6fbcab29._comment new file mode 100644 index 000000000..d9b2d2b77 --- /dev/null +++ b/doc/todo/__171__git_annex_add__187___for_symlinks_in_direct_mode/comment_3_0039faa19e35eada1ff17eac6fbcab29._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2015-07-07T20:02:02Z" + content=""" +Recently, `git annex add` started adding files +to git, if annex.largefiles didn't match them. + +So, it's possible to use that to add eg, source files. But it currently +skips symlinks (unless they're git-annex symlinks). + +What I think makes sense to do is make it also process +symlinks, and always check them into git as-is. So, git-annex add becomes +like git-add except smart about adding large files to the annex. +"""]] -- cgit v1.2.3