Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2012-11-27 22:56:20 -04:00
commit 6821279dd7
3 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://schnouki.net/"
nickname="Schnouki"
subject="comment 2"
date="2012-11-27T22:33:54Z"
content="""
Thanks for the quick fix! :)
"""]]

View file

@ -0,0 +1,23 @@
What steps will reproduce the problem?
Download current git head (fa5100d) and run cabal update; cabal install --only-dependencies; cabal configure; cabal build
What is the expected output? What do you see instead?
Expect succcessful build, get:
Assistant/Install.hs:24:8:
Could not find module `Data.AssocList'
It is a member of the hidden package `hxt-9.3.1.1'.
Perhaps you need to add `hxt' to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
What version of git-annex are you using? On what operating system?
building using cabal from clone of git clone git://git-annex.branchable.com/, commit fa5100d (same problem happens with last release, 3.20121127). On OS X, "Lion".
Please provide any additional information below.

View file

@ -0,0 +1,26 @@
[[!comment format=mdwn
username="http://identi.ca/cwebber/"
nickname="cwebber"
subject="comment 4"
date="2012-11-27T23:58:10Z"
content="""
Ah, thanks Joey... here's an updated version:
function git-annex-unlocked-commit {
if [ $# -ne 2 ]; then
echo \"Wrong number of args.\"
return 1
fi
if [ ! -e \"$1\" ]; then
echo \"Need a filename!\"
return 1
fi
read -p \"Really do an unlocked commit? (y/n): \"
if [ \"$REPLY\" == \"y\" ]; then
git add $1 && git commit $1 -m \"$2\" && git annex unlock $1
fi
}
"""]]