summaryrefslogtreecommitdiff
path: root/Init.hs
Commit message (Collapse)AuthorAge
* avoid setting annex.direct in bare repo (no behavior change, just less ugly)Gravatar Joey Hess2013-06-10
|
* Supports indirect mode on encfs in paranoia mode, and other filesystems that ↵Gravatar Joey Hess2013-06-10
| | | | do not support hard links, but do support symlinks and other POSIX filesystem features.
* fixGravatar Joey Hess2013-05-17
|
* don't warn about existence of pre-commit hook if it already has the right ↵Gravatar Joey Hess2013-05-17
| | | | content
* fix the day's Windows permissions damageGravatar Joey Hess2013-05-14
|
* disable core.symlinks before enabling direct modeGravatar Joey Hess2013-05-14
|
* Merge branch 'windows' of git://git-annex.branchable.com into windowsGravatar Joey Hess2013-05-13
|\
* | disable core.symlinks explicitly on crippled filesystemGravatar Joey Hess2013-05-13
| | | | | | | | | | | | Needed to make git annex drop work on cygwin, where git keeps it enabled. I think git can indeed make symlinks on Cygwin, due to being linked to the library. git-annex, however, cannot.
| * rename moduleGravatar Joey Hess2013-05-12
|/
* fix permission damage (thanks, Windows)Gravatar Joey Hess2013-05-11
|
* git-annex now builds on Windows (doesn't work)Gravatar Joey Hess2013-05-11
|
* fix use of wrong shebang when android is installing git-annex-shell wrapper ↵Gravatar Joey Hess2013-05-06
| | | | on server
* catch exception when making fifo failsGravatar Joey Hess2013-04-04
|
* init: Probe whether the filesystem supports fifos, and if not, disable ssh ↵Gravatar Joey Hess2013-04-04
| | | | connection caching.
* hlintGravatar Joey Hess2013-04-03
|
* annex.version is now set to 4 for direct mode repositoriesGravatar Joey Hess2013-02-26
| | | | | | | To avoid old versions of git-annex getting confused. There is no upgrade required though. We switch back to 3 when going from direct to indirect.
* only create inode sentinal file when initializing a new repoGravatar Joey Hess2013-02-20
|
* avoid writing pre-commit hook if we cannot make it executableGravatar Joey Hess2013-02-18
|
* switch to direct mode when auto-enablingGravatar Joey Hess2013-02-15
| | | | | Gets the direct mode mapping set up correctly. Maybe other stuff, but probably not, since this is probably a new repo.
* don't allow setting indirect mode on a crippled filesystemGravatar Joey Hess2013-02-15
|
* crippled filesystem support, probing and initial supportGravatar Joey Hess2013-02-14
| | | | | | | | | | | | git annex init probes for crippled filesystems, and sets direct mode, as well as `annex.crippledfilesystem`. Avoid manipulating permissions of files on crippled filesystems. That would likely cause an exception to be thrown. Very basic support in Command.Add for cripped filesystems; avoids the lock down entirely since doing it needs both permissions and hard links. Will make this better soon.
* deal with Android's nonstandard shell locationGravatar Joey Hess2013-02-13
| | | | | | This is so gratutious and pointless. It's a shame that everything we learned about Unix portability and the importance of standards has been thrown out the window by these guys.
* whitespace fixesGravatar Joey Hess2012-12-13
|
* indentation foo, and a new coding style page. no code changesGravatar Joey Hess2012-10-28
|
* Use USER and HOME environment when set, and only fall back to getpwent, ↵Gravatar Joey Hess2012-10-25
| | | | which doesn't work with LDAP or NIS.
* uninit: Unset annex.version. Closes: #689852Gravatar Joey Hess2012-10-07
|
* adding removable drive repos now basically worksGravatar Joey Hess2012-08-05
|
* Merge branch 'master' into assistantGravatar Joey Hess2012-08-03
|\
| * init: If no description is provided for a new repository, one will ↵Gravatar Joey Hess2012-08-03
| | | | | | | | automatically be generated, like "joey@gnu:~/foo"
* | when run in uninitialized git repo, do firstrunGravatar Joey Hess2012-07-31
|/ | | | My $HOME is in git, let's make it work :)
* Clean up handling of git directory and git worktree.Gravatar Joey Hess2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Baked into the code was an assumption that a repository's git directory could be determined by adding ".git" to its work tree (or nothing for bare repos). That fails when core.worktree, or GIT_DIR and GIT_WORK_TREE are used to separate the two. This was attacked at the type level, by storing the gitdir and worktree separately, so Nothing for the worktree means a bare repo. A complication arose because we don't learn where a repository is bare until its configuration is read. So another Location type handles repositories that have not had their config read yet. I am not entirely happy with this being a Location type, rather than representing them entirely separate from the Git type. The new code is not worse than the old, but better types could enforce more safety. Added support for core.worktree. Overriding it with -c isn't supported because it's not really clear what to do if a git repo's config is read, is not bare, and is then overridden to bare. What is the right git directory in this case? I will worry about this if/when someone has a use case for overriding core.worktree with -c. (See Git.Config.updateLocation) Also removed and renamed some functions like gitDir and workTree that misused git's terminology. One minor regression is known: git annex add in a bare repository does not print a nice error message, but runs git ls-files in a way that fails earlier with a less nice error message. This is because before --work-tree was always passed to git commands, even in a bare repo, while now it's not.
* uninit: Clear annex.uuid from .git/config. Closes: #670639Gravatar Joey Hess2012-04-27
|
* removed another 10 lines via ifMGravatar Joey Hess2012-03-16
|
* added ifM and nuked 11 lines of codeGravatar Joey Hess2012-03-14
| | | | no behavior changes
* hlintGravatar Joey Hess2012-02-16
|
* split out Git/Ref.hsGravatar Joey Hess2011-12-12
|
* reorder repo parameters lastGravatar Joey Hess2011-11-08
| | | | | | | | | | | | | Many functions took the repo as their first parameter. Changing it consistently to be the last parameter allows doing some useful things with currying, that reduce boilerplate. In particular, g <- gitRepo is almost never needed now, instead use inRepo to run an IO action in the repo, and fromRepo to get a value from the repo. This also provides more opportunities to use monadic and applicative combinators.
* refactorGravatar Joey Hess2011-11-07
|
* Record uuid when auto-initializing a remote so it shows in status.Gravatar Joey Hess2011-11-02
|
* cleanupGravatar Joey Hess2011-10-31
|
* broke up UtilityGravatar Joey Hess2011-10-16
|
* break out non-log stuff to separate moduleGravatar Joey Hess2011-10-15
|
* reorganize log modulesGravatar Joey Hess2011-10-15
| | | | no code changes
* minor syntax changesGravatar Joey Hess2011-10-11
|
* renameGravatar Joey Hess2011-10-05
|
* renameGravatar Joey Hess2011-10-04
|
* factor out common importsGravatar Joey Hess2011-10-03
| | | | no code changes
* go go gadget hlintGravatar Joey Hess2011-09-20
|
* split groups of related functions out of UtilityGravatar Joey Hess2011-08-22
|
* make gitDir absoluteGravatar Joey Hess2011-08-19
|