aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/assistant_creating_.git_directory_inside_bare_repo.mdwn
blob: a35bc9c3d125842881734b464482c5d58eca91d1 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
### Please describe the problem.
Setting up a git annex repo with the webapp. Adding a small archive removeable disk. 
Adding a file to repo. Moving file to archive. The file seems to get copied to the removeable disk
but it is not removed (dropped)from my repo, as I would expect

Before I add the file to the repo, the archive directory on the removeable drive looks like a bare repo.
After adding one file and moving it to the archive folder, a ".git" directory gets created inside the bare repo. 
The .git directory contains an annex directory, and nothing else.

Is this behaviour the expected one? As far as I have understood it, the files are supposed to "disapear" from my computer when I move them to the archive folder.


### What steps will reproduce the problem?
Se above

### What version of git-annex are you using? On what operating system?
Version: 5.20131127-g736ce5e
Build flags: Assistant Webapp Pairing S3 WebDAV Inotify DBus XMPP Feeds Quvi TDFA

Chakra linux
Linux black 3.10.18-1-CHAKRA #1 SMP PREEMPT Sat Nov 9 20:18:15 UTC 2013 x86_64 GNU/Linux

git annex installed from prebuilt tar.

### Please provide any additional information below.

[[!format sh """
[2013-11-28 23:25:59 CET] main: starting assistant version 5.20131127-g736ce5e
[2013-11-28 23:25:59 CET] Cronner: You should enable consistency checking to protect your data. 
(scanning...) [2013-11-28 23:25:59 CET] Watcher: Performing startup scan
(started...) gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Repository not found: /run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark
fatal: Not a git repository: '/run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark/.git'
[2013-11-28 23:26:21 CET] main: Syncing with 7090f0c1abf947a1a186ba243c498172 
warning: no common commits
From /run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark
 * [new branch]      git-annex  -> 7090f0c1abf947a1a186ba243c498172/git-annex
 * [new branch]      master     -> 7090f0c1abf947a1a186ba243c498172/master
Already up-to-date.
To /run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark
 * [new branch]      git-annex -> synced/git-annex
 * [new branch]      annex/direct/master -> synced/master
Already up-to-date.
Already up-to-date.
[2013-11-28 23:26:59 CET] Pusher: Syncing with test_ark 
To /run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark
   4d435e3..e548577  git-annex -> synced/git-annex
[2013-11-28 23:27:17 CET] Committer: Adding git-annex..64.tar.gz

(Recording state in git...)
(merging 7090f0c1abf947a1a186ba243c498172/git-annex into git-annex...)
(Recording state in git...)



(Recording state in git...)
add git-annex-standalone-amd64.tar.gz (checksum...) [2013-11-28 23:27:17 CET] Committer: Committing changes to git
[2013-11-28 23:27:17 CET] Pusher: Syncing with test_ark 
Already up-to-date.
To /run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark
   e548577..b86f41c  git-annex -> synced/git-annex
   658b0f2..f32a646  annex/direct/master -> synced/master
Already up-to-date.
[2013-11-28 23:27:27 CET] Committer: Adding git-annex..64.tar.gz
[2013-11-28 23:27:27 CET] Committer: Committing changes to git
[2013-11-28 23:27:27 CET] Pusher: Syncing with test_ark 

git-annex-standalone-amd64.tar.gz

       32768   0%    0.00kB/s    0:00:00  Already up-to-date.
To /run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark
   b86f41c..806a2dd  git-annex -> synced/git-annex
   f32a646..5e254e7  annex/direct/master -> synced/master
Already up-to-date.

    20143752 100%   85.24MB/s    0:00:00 (xfer#1, to-check=0/1)

sent 20146306 bytes  received 31 bytes  40292674.00 bytes/sec
total size is 20143752  speedup is 1.00
fatal: Not a git repository: '/run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark/.git'
fatal: Not a git repository: '/run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark/.git'
fatal: Not a git repository: '/run/media/daniel/7090f0c1-abf9-47a1-a186-ba243c498172/test_ark/.git'
[2013-11-28 23:27:59 CET] Pusher: Syncing with test_ark 
Everything up-to-date


# End of transcript or log.
"""]]

> [[fixed|done]] --[[Joey]]