File: comment_3_4b233762116c52bd2a754f49152201b7._comment

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (29 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (6)
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
26
27
28
29
[[!comment format=mdwn
 username="ericm"
 avatar="http://cdn.libravatar.org/avatar/67ca64c5a99fb142fc2e3916333881ca"
 subject="comment 3"
 date="2018-02-18T13:46:00Z"
 content="""
Hi,

I first tried messing around with required content settings in a test repo in direct mode. This is what I did to initialize a test repo:

    git clone existing-repo
    git annex init
    git annex required . \"include=*.jpg\"

Then I run fsck:

    git annex fsck 

And I get this output:

    fsck viber/0.02.01.0e411306e0b3fc90.jpg (fixing link) ok
    fsck viber/0.02.01.20943bf9c18e42.jpg (fixing link) ok
    fsck viber/0.02.01.5126da68987493.jpg (fixing link) ok
    ...

I expected the fsck command to complain that the required jpg files are not present in the current repo and fail. However, that is not what I'm getting.

Is this the expected behavior for a direct-mode repository? If not, is there something I missed?
"""]]