Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
fd5c3d4953
5 changed files with 87 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
### Please describe the problem.
|
||||
|
||||
git annex direct displays warnings(?)
|
||||
### What steps will reproduce the problem?
|
||||
mkdir test
|
||||
cd test
|
||||
git init
|
||||
git annex init
|
||||
touch foobar.txt
|
||||
git annex add
|
||||
git annex direct
|
||||
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
5.20140717 (ubuntu 14.10)
|
||||
|
||||
### Please provide any additional information below.
|
||||
|
||||
[[!format sh """
|
||||
# If you can, paste a complete transcript of the problem occurring here.
|
||||
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
|
||||
|
||||
|
||||
# End of transcript or log.
|
||||
"""]]
|
|
@ -0,0 +1,15 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawk9SYh6N-JUMkYkW4aOk55zC3Vr9KonDV4"
|
||||
nickname="Florian"
|
||||
subject="comment 2"
|
||||
date="2015-01-14T22:01:24Z"
|
||||
content="""
|
||||
Sorry for the late reply. I had redone my git-annex repos, but I just had exactly this behaviour again
|
||||
|
||||
% git annex wanted astarte
|
||||
standard
|
||||
% git annex group astarte
|
||||
transfer
|
||||
|
||||
Best Regards...
|
||||
"""]]
|
|
@ -0,0 +1,7 @@
|
|||
Hi,
|
||||
|
||||
Even after googling for a while, I'm still having a hard time finding an answer for this:
|
||||
|
||||
How can I access the revision history information for an annex-assistant repository? For example, to recover a file on one computer that another computer deleted. Or, to view how another computer modified a file.
|
||||
|
||||
Thanks!
|
|
@ -0,0 +1,28 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg"
|
||||
nickname="Bence"
|
||||
subject="comment 4"
|
||||
date="2015-01-15T16:15:21Z"
|
||||
content="""
|
||||
Based on the above, I'm using this script in the `pre-commit` hook.
|
||||
|
||||
It gets the staged files and checks if they are links or not. If a file being committed is not a link (maybe it was added with `git add filename` ???), the script aborts the commit.
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
# Don't allow files to be added to the normal repo.
|
||||
stagedfiles=$(git diff --cached --name-only);
|
||||
echo \"$stagedfiles\" | while IFS= read -r file; do
|
||||
if [ ! -L \"$file\" ]; then
|
||||
echo \"[Error] The file \\"$file\\" should not be added to the repo.\";
|
||||
echo \"#Remove from the index and add with git-annex:\";
|
||||
echo \"\$ git rm --cached \\"$file\\" && git annex add \\"$file\\"\";
|
||||
exit 1;
|
||||
#else
|
||||
# echo \"OK : $file\";
|
||||
fi;
|
||||
done;
|
||||
|
||||
# automatically configured by git-annex
|
||||
git annex pre-commit .
|
||||
"""]]
|
|
@ -0,0 +1,12 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawmiPEySoakXDQ4OUAmC9neEOZW17W1KvlU"
|
||||
nickname="Francesco Saverio"
|
||||
subject="Default value of annex.queuesize"
|
||||
date="2015-01-14T15:45:46Z"
|
||||
content="""
|
||||
What is the default value of :
|
||||
|
||||
annex.queuesize
|
||||
|
||||
Without knowing the default value it is impossible to increase it :) thank you
|
||||
"""]]
|
Loading…
Reference in a new issue