From 136d307d12b3b0336819e8298be545db99654376 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Sat, 21 Sep 2013 14:04:08 +0000 Subject: [PATCH] --- doc/todo/wishlist:_use_hardlinks_for_local_clones.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/wishlist:_use_hardlinks_for_local_clones.mdwn diff --git a/doc/todo/wishlist:_use_hardlinks_for_local_clones.mdwn b/doc/todo/wishlist:_use_hardlinks_for_local_clones.mdwn new file mode 100644 index 0000000000..f8cec15db2 --- /dev/null +++ b/doc/todo/wishlist:_use_hardlinks_for_local_clones.mdwn @@ -0,0 +1,7 @@ +as far as I know, if you `git clone` locally a git-annex enabled repository, it will not have all the files available. you would need to use `git annex get` and all files would be copied over, wasting a significant amount of space. + +`git-clone` has this `--local` flags which hardlinks objects in `.git/objects`, but also, maybe more interestingly, has a `--shared` option to simply tell git to look in another repo for objects. it seems to me git-annex could leverage those functionalities to avoid file duplication when using local repositories. + +this would be especially useful for [ikiwiki](http://ikiwiki.info/forum/ikiwiki_and_big_files). + +Thanks! --[[anarcat]]