git-annex/Git
Joey Hess 8d9c2afd89 Additional GIT_DIR support bugfixes. May actually work now.
Two fixes. First, and most importantly, relax the isLinkToAnnex check
to only look for /annex/objects/, not [^|/].git/annex/objects. If
GIT_DIR is used with a detached work tree, the git directory is
not necessarily named .git.

There are important caveats with doing that at all, since git-annex will
make symlinks that point at GIT_DIR, which means that the relative path
between GIT_DIR and GIT_WORK_TREE needs to remain stable across all clones
of the repository.

----

The other fix is just fixing crazy and wrong code that, when GIT_DIR is
set, expects to still find a git repository in the path below the work
tree, and uses some of its configuration, and some of GIT_DIR. What was I
thinking, and why can't I seem to get this code right?
2013-02-23 12:41:22 -04:00
..
AutoCorrect.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Branch.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
CatFile.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
CheckAttr.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Command.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Config.hs annex.autocommit 2013-01-27 22:43:05 +11:00
Construct.hs Additional GIT_DIR support bugfixes. May actually work now. 2013-02-23 12:41:22 -04:00
CurrentRepo.hs Additional GIT_DIR support bugfixes. May actually work now. 2013-02-23 12:41:22 -04:00
DiffTree.hs pre-commit: Update direct mode mappings. 2013-02-06 12:44:19 -04:00
Filename.hs
FilePath.hs add support for staging other types of blobs, like symlinks, into the index 2012-06-06 14:26:15 -04:00
HashObject.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Index.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
LsFiles.hs make adding modified files work on crippled filesystems 2013-02-20 14:12:55 -04:00
LsTree.hs Merge branch 'master' into desymlink 2012-12-13 00:29:06 -04:00
Merge.hs typo 2012-07-17 14:51:42 -04:00
Queue.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Ref.hs pre-commit: Update direct mode mappings. 2013-02-06 12:44:19 -04:00
Remote.hs webapp: Generate better git remote names. 2012-10-31 15:26:19 -04:00
Sha.hs whitespace fixes 2012-12-13 00:45:27 -04:00
SharedRepository.hs Support git's core.sharedRepository configuration 2012-04-21 15:36:52 -04:00
Types.hs thread safe git-annex index file use 2012-08-24 20:50:39 -04:00
UnionMerge.hs union merge bugfix 2013-01-16 21:31:06 -04:00
UpdateIndex.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Url.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Version.hs finished where indentation changes 2012-12-13 00:24:19 -04:00