diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-23 12:32:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-23 12:41:22 -0400 |
commit | c59733b3b1e2a359d074ce6c351137a09bf363c6 (patch) | |
tree | fd30e95ed7b61cf3b4a1ffd9b175fb10d2f1c450 /debian | |
parent | 5534aceab89789fc2c284bd700aaa59a8e105937 (diff) |
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?
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 55460a99e..d3e7a0544 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ git-annex (3.20130217) UNRELEASED; urgency=low each time they are mounted. * Direct mode: Fix support for adding a modified file. * Avoid passing -p to rsync, to interoperate with crippled filesystems. + * Additional GIT_DIR support bugfixes. May actually work now. -- Joey Hess <joeyh@debian.org> Sun, 17 Feb 2013 16:42:16 -0400 |