summaryrefslogtreecommitdiff
path: root/Command
Commit message (Collapse)AuthorAge
* fsck: Detect and fix consistency errors in direct mode mapping files.Gravatar Joey Hess2013-01-19
|
* sync: Automatic merge conflict resolution now stages deleted files.Gravatar Joey Hess2013-01-17
|
* avoid running pre-commit hook in direct modeGravatar Joey Hess2013-01-17
| | | | | The code that handles committing unlocked files in indirect mode did something unexpected and data lossy.
* drop: fix misleading messageGravatar Joey Hess2013-01-16
|
* webapp: Now always logs to .git/annex/daemon.logGravatar Joey Hess2013-01-15
| | | | | | | | It used to not log to daemon.log when a repository was first created, and when starting the webapp. Now both do. Redirecting stdout and stderr to the log is tricky when starting the webapp, because the web browser may want to communicate with the user. (Either a console web browser, or web.browser = echo) This is handled by restoring the original fds when running the browser.
* assistant: Avoid committer crashing if a file is deleted at the wrong instant.Gravatar Joey Hess2013-01-14
|
* safe recv-key in direct modeGravatar Joey Hess2013-01-11
| | | | | Checks the key's size and checksum. This is sorta expensive, but it avoids needing to add another round-trip to the protocol.
* drop: Suggest using git annex move when numcopies prevents dropping a file.Gravatar Joey Hess2013-01-09
|
* Special remotes now all rollback storage of keys that get modified during ↵Gravatar Joey Hess2013-01-09
| | | | the transfer, which can happen in direct mode.
* improve direct mode fsckGravatar Joey Hess2013-01-08
| | | | | | | | | | | | An earlier commit (mislabeled) made direct mode fsck check file checksums. While it's expected for files to change at any time in direct mode, and so fsck cannot complain every time there's a checksum mismatch, it is possible for it to detect when a file does not *seem* to have changed, then check its checksum, and so detect disk corruption or other problems. This commit improves that, by checking a second time, if the checksum fails, that the file is still not modified, before taking action. This way, a direct mode file can be modified while being fscked.
* blog for yesterdayGravatar Joey Hess2013-01-08
|
* fix a stupid typo that made fsck loop when it found bad contentGravatar Joey Hess2013-01-07
| | | | Thank goodness for test suites!
* addurl in direct modeGravatar Joey Hess2013-01-06
|
* add works in direct modeGravatar Joey Hess2013-01-06
| | | | | Also, changed sync to no longer automatically add files in direct mode. That was only necessary before because add didn't work.
* optimize pre-commit in direct modeGravatar Joey Hess2013-01-06
|
* support fsck in direct modeGravatar Joey Hess2013-01-06
|
* More commands work in direct mode repositories: find, whereis, move, copy, ↵Gravatar Joey Hess2013-01-05
| | | | | | | | drop, log. These started working, for free, once lookupFile supported direct mode. yay!!
* guard readSymbolicLinkGravatar Joey Hess2013-01-05
| | | | throws an exception if the file is not a symlink
* avoid pre-commit in direct modeGravatar Joey Hess2013-01-05
| | | | | It was a no-op until my recent change that made lookupFile work in direct mode.
* squelch warningGravatar Joey Hess2013-01-05
|
* committer: Fix a file handle leak.Gravatar Joey Hess2013-01-05
|
* type based git config handling for remotesGravatar Joey Hess2013-01-01
| | | | | Still a couple of places that use git config ad-hoc, but this is most of it done.
* type based git config handlingGravatar Joey Hess2012-12-29
| | | | | | | | | | | Now there's a Config type, that's extracted from the git config at startup. Note that laziness means that individual config values are only looked up and parsed on demand, and so we get implicit memoization for all of them. So this is not only prettier and more type safe, it optimises several places that didn't have explicit memoization before. As well as getting rid of the ugly explicit memoization code. Not yet done for annex.<remote>.* configuration settings.
* ensure that direct mode file is not modified while generating its keyGravatar Joey Hess2012-12-29
|
* convert notBareRepo to a CommandCheckGravatar Joey Hess2012-12-29
| | | | | | This avoids some small overhead by only running the check once per command; it also ensures that, even if the command doesn't find anything to run on, it still fails to run when in a bare repo.
* block all commands that don't work in direct modeGravatar Joey Hess2012-12-29
| | | | | I left status working in direct mode, although it doesn't show correct stats for known annex keys.
* use sync command merge engine in assistantGravatar Joey Hess2012-12-25
| | | | To handle direct mode merging.
* add a guard against using git annex add in direct mode repoGravatar Joey Hess2012-12-24
| | | | | Currently, it deletes files when run in one, so until I get a chance to fix it, block foot shooting.
* assistant adding of files in direct modeGravatar Joey Hess2012-12-24
|
* handle sha*sum's leading \ in checksum with certian unsual filenamesGravatar Joey Hess2012-12-20
| | | | | | | | * Bugfix: Remove leading \ from checksums output by sha*sum commands, when the filename contains \ or a newline. Closes: #696384 * fsck: Still accept checksums with a leading \ as valid, now that above bug is fixed. * migrate: Remove leading \ in checksums
* more quickcheck funGravatar Joey Hess2012-12-19
|
* commentGravatar Joey Hess2012-12-19
|
* partial and incomplete automatic merging in direct modeGravatar Joey Hess2012-12-18
| | | | Handles our file right, but not theirs.
* direct mode merging works!Gravatar Joey Hess2012-12-18
| | | | | Automatic merge resoltion code needs to be fixed to preserve objects from direct mode files.
* Merge branch 'master' into desymlinkGravatar Joey Hess2012-12-18
|\
| * vicfg: Quote filename. Closes: #696193Gravatar Joey Hess2012-12-18
| |
* | add ok'sGravatar Joey Hess2012-12-13
| |
* | reorder for better displayGravatar Joey Hess2012-12-13
| |
* | added direct and indirect commandsGravatar Joey Hess2012-12-13
| |
* | show direct/indirect modeGravatar Joey Hess2012-12-13
| |
* | Merge branch 'master' into desymlinkGravatar Joey Hess2012-12-13
|\|
| * whitespace fixesGravatar Joey Hess2012-12-13
| |
* | direct mode committingGravatar Joey Hess2012-12-12
| |
* | also update direct mode associated files in local mergeGravatar Joey Hess2012-12-12
| |
* | direct mode mappings now updated by git annex syncGravatar Joey Hess2012-12-10
| | | | | | | | | | Still lots to do to make sync handle direct mode, but this is a good first step.
* | Got object sending working in direct mode.Gravatar Joey Hess2012-12-08
|/ | | | | | | | | | | However, I don't yet have a reliable way to deal with files being modified while they're being transferred. I have code that detects it on the sending side, but the receiver is still free to move the wrong content into its annex, and record that it has the content. So that's not acceptable, and I'll need to work on it some more. However, at this point I can use a direct mode repository as a remote and transfer files from and to it.
* --auto fixesGravatar Joey Hess2012-12-06
| | | | | | | * get/copy --auto: Transfer data even if it would exceed numcopies, when preferred content settings want it. * drop --auto: Fix dropping content when there are no preferred content settings.
* The standalone builds now unset their special path and library path ↵Gravatar Joey Hess2012-11-27
| | | | | | variables before running the system web browser. Should fix a crash reported on OSX.
* formattingGravatar Joey Hess2012-11-25
|
* avoid commits when running fix and findGravatar Joey Hess2012-11-24
|