File: comment_1_82e7de5e631bae3b347815586274a936._comment

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (25 lines) | stat: -rw-r--r-- 859 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[[!comment format=mdwn
 username="http://joeyh.name/"
 nickname="joey"
 subject="comment 1"
 date="2013-05-19T20:29:14Z"
 content="""
I don't seem to be seeing the problem you describe in direct mode:

[[!format sh \"\"\"

joey@gnu:~/tmp/r2>git init
joey@gnu:~/tmp/r2>git annex init
joey@gnu:~/tmp/r2>git config annex.largefiles \"largerthan=100kb and not (include=*.c or include=*.h)\"
joey@gnu:~/tmp/r2>git annex direct
joey@gnu:~/tmp/r2>git annex assistant 
joey@gnu:~/tmp/r2>dd if=/dev/urandom of=bigfile bs=1M count=1
1+0 records in
1+0 records out
joey@gnu:~/tmp/r2>echo \"main() { printf(\"hello, world!\n\") }\" > hello.c
\"\"\"]]

At that point, the bigfile was annexed, and the hello.c file was checked into git as a regular file.

Are you sure you have annex.largefiles correctly configured to exclude the files you don't want to be annexed?
"""]]