Bug#685672: Add content-only import, vampiric style

2012-08-24 Thread Joey Hess
Julien Danjou wrote: > Something like that, but note that reinject wants a key, but I don't > want to give the key. I really just want to give data, and that git > annex uses it if it finds the key used and pointing to a non-existing > file. The current version of reinject does not take a key, jus

Bug#685672: Add content-only import, vampiric style

2012-08-24 Thread Julien Danjou
On Fri, Aug 24 2012, Joey Hess wrote: > I'm undecided if this is a likely enough use case to explicitly support. > The best way to make this possible may be to fix this bug: > http://git-annex.branchable.com/bugs/reinject_should_leave_file_in_place_on_checksum_mismatch/ > Then anyone who needs wha

Bug#685672: Add content-only import, vampiric style

2012-08-24 Thread Joey Hess
Julien Danjou wrote: > Since git-annex uses CAS principle, it should be able to import any file > content and stores it if it's useful to have data. I'll give an example. > > In my git annex repository, I've: > > file.iso -> ../.git/annex/objects/SHA1-foobar > > On a USB key, I've 100 ISO file

Bug#685672: Add content-only import, vampiric style

2012-08-23 Thread Julien Danjou
Package: git-annex Version: 3.20120807 Severity: wishlist Tags: upstream Since git-annex uses CAS principle, it should be able to import any file content and stores it if it's useful to have data. I'll give an example. In my git annex repository, I've: file.iso -> ../.git/annex/objects/SHA1-fo