Joey Hess
dd573e7010
fsck bugfixes
2010-11-13 15:40:12 -04:00
Joey Hess
abebbcfd54
fsck improvements
2010-11-13 15:24:36 -04:00
Joey Hess
5fa25a812a
fsck improvements
...
* fsck: Check if annex.numcopies is satisfied.
* fsck: Verify the sha1 of files when the SHA1 backend is used.
* fsck: Verify the size of files when the WORM backend is used.
* fsck: Allow specifying individual files to fsk if fscking everything
is not desired.
* fsck: Fix bug, introduced in 0.04, in detection of unused data.
2010-11-13 14:59:27 -04:00
Joey Hess
d4d65a3c92
new fsck items
2010-11-13 13:11:41 -04:00
Joey Hess
3a5efc54d0
fullfledged design for moving location tracking info into branches
2010-11-12 11:00:20 -04:00
Joey Hess
09da0da02f
add
2010-11-12 00:56:08 -04:00
Joey Hess
c7ec38b829
bug
2010-11-11 20:00:49 -04:00
Joey Hess
fc6b972da6
link to ghc bug
2010-11-11 19:00:38 -04:00
Joey Hess
728fc4134e
add news item for git-annex 0.05
2010-11-11 18:59:37 -04:00
Joey Hess
3e60c3a3f9
releasing version 0.05
2010-11-11 18:59:19 -04:00
Joey Hess
da0de293d1
refactor param seeking
2010-11-11 18:54:52 -04:00
Joey Hess
5357d3a37a
remove dup filter
2010-11-11 18:29:58 -04:00
Joey Hess
f2c7a6e73d
got rid of several more calls to git when finding unlocked files
2010-11-11 18:21:54 -04:00
Joey Hess
ce62f5abf1
rework command dispatching for add and pre-commit
...
Both subcommands do two different operations on different sets of files, so
allowing a subcommand to perform a list of operations cleans things up.
2010-11-11 17:58:55 -04:00
Joey Hess
b5ce88dd2a
build with -O2
2010-11-11 17:04:00 -04:00
Joey Hess
58fffdb73b
remove unnecessary mkdir
2010-11-11 15:34:28 -04:00
Joey Hess
dffe949963
Optimize both pre-commit and lock subcommands.
...
isLocked was doing the expensive check before the cheap one. Let's not
fork git diff twice per file when committing, especially.
git diff is still run more than strictly necessary (ie, more than once)
if multiple unlocked files are being committed. But much better now.
2010-11-11 14:54:29 -04:00
Joey Hess
8a8987579f
add news item for git-annex 0.04
2010-11-10 14:30:33 -04:00
Joey Hess
b9d7e67f61
releasing version 0.04
2010-11-10 14:29:51 -04:00
Joey Hess
10f35dceb6
tweak
2010-11-10 14:20:50 -04:00
Joey Hess
d9d6b256fc
cleanup
2010-11-10 14:16:53 -04:00
Joey Hess
fb824f7eb0
use -- before filenames when running git add, git rm, etc
2010-11-10 14:15:21 -04:00
Joey Hess
f5f472e855
Merge branch 'checkout'
2010-11-10 14:11:19 -04:00
Joey Hess
16ba23d48d
tweak
2010-11-10 14:10:48 -04:00
Joey Hess
31101a8b27
use new git function
2010-11-10 14:08:28 -04:00
Joey Hess
e826368cec
allow adding unlocked files
2010-11-10 14:02:08 -04:00
Joey Hess
81524d19a7
add typeChangedFiles
2010-11-10 14:01:41 -04:00
Joey Hess
d0886a9ac7
explicity run queue to git add files
2010-11-10 13:32:46 -04:00
Joey Hess
99d9c1cf89
edit an alias for unlock
2010-11-10 13:28:04 -04:00
Joey Hess
ee6052cbf8
update for modifying files
2010-11-10 13:27:52 -04:00
Joey Hess
43412419ea
bugfix
...
The object's directory might exist if the backend picked the same key
as was already present. That could happen, for example, if the sha1 is the
same.
Note that I chose to go ahead and replace the old content with the new.
We don't know if they are the same (even with sha1, their timestamp or
perms could differ), so have to assume the newer one is preffered. Although
it won't propigate to other annexes, so it had better not be significantly
different!
2010-11-10 13:08:29 -04:00
Joey Hess
361d28e138
Unlocked files will now automatically be added back into the annex when committed (and the updated symlink committed), by some magic in the pre-commit hook.
2010-11-10 13:01:17 -04:00
Joey Hess
2ab448276c
fix handling of staged unlocked files
2010-11-10 13:01:01 -04:00
Joey Hess
55720885ae
set write bit on unlocked file
2010-11-10 12:50:00 -04:00
Joey Hess
f1c4a5a8dc
close
2010-11-10 10:55:00 -04:00
Joey Hess
25b014ec26
update
2010-11-10 10:52:59 -04:00
Joey Hess
91c5fe71af
add
2010-11-10 10:52:43 -04:00
Joey Hess
05ca2bebff
in debian unstable!
2010-11-10 10:51:50 -04:00
Joey Hess
b52aa2d12f
in debian unstable!
2010-11-10 10:51:17 -04:00
Joey Hess
515d6b6c7d
Avoid using runghc to run test suite as it is not available on all architectures. Closes : #603006
2010-11-10 10:49:35 -04:00
Joey Hess
536bc97d25
lock and unlock subcommands
2010-11-09 15:59:49 -04:00
Joey Hess
d56feda25d
maybe call it unlock and not checkout
...
It'd be confusing to have a git-annex subcommand with the same name as a
git subcommand.
2010-11-09 15:11:45 -04:00
Joey Hess
75d2925082
Merge branch 'master' into checkout
...
Conflicts:
debian/changelog
doc/backends.mdwn
2010-11-09 15:05:08 -04:00
Joey Hess
8d5374f4a3
tweak
2010-11-09 15:04:13 -04:00
Joey Hess
1d32d902c9
Annexed file contents are now made unwritable and put in unwriteable directories, to avoid them accidentially being removed or modified. (Thanks Josh Triplett for the idea.)
2010-11-08 19:26:37 -04:00
Joey Hess
8dd9f8e49e
typo
2010-11-08 17:44:30 -04:00
Joey Hess
40a815d873
add unsetFileMode
2010-11-08 17:44:08 -04:00
Joey Hess
6395b790ce
Reorganised the layout of .git/annex/
2010-11-08 17:00:34 -04:00
Joey Hess
ba59ac13b2
add showSideAction
2010-11-08 16:45:41 -04:00
Joey Hess
98a77ab725
add
2010-11-08 16:40:42 -04:00