git-annex/doc
Joey Hess f353f13c9d Support unannex and uninit in direct mode.
In direct mode, it's best to whenever possible not move direct mode files
out of the way, and so I made unannex avoid touching the direct mode file at
all.

That actually turns out to be easy, because in direct mode, unlike indirect
mode, the pre-commit hook won't get confused if the unannexed file later
gets added back by git add. So there's no need to commit the unannex right
away; it can be staged for the user to commit later. This also means that
unannex in direct mode is a lot faster than in indirect mode!

Another subtle bit is the bookkeeping that is done when unannexing a direct
mode file. The inode cache needs to be removed so that when uninit runs
getKeysPresent, it doesn't see the cache and think the key is still
present and crash when it's not.

This commit is sponsored by Douglas Butts. Thanks!
2013-07-22 17:28:53 -04:00
..
Android fix link 2013-07-18 13:29:15 -04:00
android
assistant update re the bad rsync authorized_keys line bug that was fixed 2013-07-11 14:24:13 -04:00
backends
bare_repositories
bugs Support unannex and uninit in direct mode. 2013-07-22 17:28:53 -04:00
design poll vote (Tahoe-LAFS) 2013-07-22 15:40:21 +00:00
direct_mode Added a comment 2013-07-08 16:11:32 +00:00
download
encryption
footer
forum 2013-07-22 15:12:04 +00:00
install Added a comment: Macports _iconv 2013-07-18 14:23:02 +00:00
internals
license
links add 2013-06-26 14:45:12 -04:00
news add news item for git-annex 4.20130709 2013-07-09 16:03:57 -04:00
not
preferred_content
special_remotes Added a comment 2013-07-20 06:06:31 +00:00
sync
templates
tips Added a comment 2013-07-16 17:54:28 +00:00
todo 2013-07-21 15:58:20 +00:00
upgrades
use_case
users
videos downloads.kitenet.net now supports https; use it for all links 2013-06-26 19:21:19 -04:00
walkthrough typo 2013-07-21 04:44:19 +00:00
Android.mdwn
assistant.mdwn mention the new crowdfunding 2013-07-16 00:41:51 +00:00
automatic_conflict_resolution.mdwn break out a page 2013-07-09 15:08:59 -04:00
backends.mdwn
bare_repositories.mdwn update docs for --all 2013-07-03 14:16:01 -04:00
bugs.mdwn assistant bugs are shown in the main bug list, fix a note that says 2013-07-04 20:56:37 -04:00
coding_style.mdwn
comments.mdwn
contact.mdwn
copies.mdwn
design.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn
encryption.mdwn
favicon.ico
favicon.png Install XDG desktop icon files. 2013-07-09 19:56:30 -04:00
feeds.mdwn
forum.mdwn
future_proofing.mdwn
git-annex-shell.mdwn
git-annex.mdwn fix example in man page 2013-07-16 15:35:15 -04:00
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn remove twitter and identica feeds; both no longer offer rss; add campaign link temporarily 2013-07-14 19:04:06 -04:00
install.mdwn
internals.mdwn 2013-07-15 09:44:10 +00:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg fix filename 2013-07-20 14:46:26 -04:00
logo-old.png New improved version of the git-annex logo, contributed by John Lawrence. 2013-07-20 13:16:47 -04:00
logo-old.svg New improved version of the git-annex logo, contributed by John Lawrence. 2013-07-20 13:16:47 -04:00
logo-old_small.png New improved version of the git-annex logo, contributed by John Lawrence. 2013-07-20 13:16:47 -04:00
logo.mdwn New improved version of the git-annex logo, contributed by John Lawrence. 2013-07-20 13:16:47 -04:00
logo.svg New improved version of the git-annex logo, contributed by John Lawrence. 2013-07-20 13:16:47 -04:00
logo_small.png New improved version of the git-annex logo, contributed by John Lawrence. 2013-07-20 13:16:47 -04:00
meta.mdwn
news.mdwn
not.mdwn
preferred_content.mdwn update to use enableremote for changing preferreddir settings 2013-07-16 13:54:00 -04:00
privacy.mdwn downloads.kitenet.net now supports https; use it for all links 2013-06-26 19:21:19 -04:00
related_software.mdwn
repomap.png
scalability.mdwn
sidebar.mdwn remove twitter and identica feeds; both no longer offer rss; add campaign link temporarily 2013-07-14 19:04:06 -04:00
sitemap.mdwn
special_remotes.mdwn
summary.mdwn
sync.mdwn break out a page 2013-07-09 15:08:59 -04:00
testimonials.mdwn update 2013-06-27 02:33:17 -04:00
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
upgrades.mdwn
users.mdwn
videos.mdwn
walkthrough.mdwn typo 2013-07-08 16:24:21 -04:00