blob: 1dca8434668d958ddb3e282f46bd167d4ab46238 (
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
|
### Please describe the problem.
Changing a file in a repository from a symlink to a normal file causes annex to create an annexed file from that typechange regardless of weather or not it was an annexed file.
### What steps will reproduce the problem?
git init newrepo
cd newrepo && git annex init
touch realfile
git add .
git commit -m "added realfile"
mkdir newdir && cd newdir
ln -s ../realfile newfile
git add .
git commit -m "Added placeholder until we get assets from designers"
rm newfile
dd bs=1024 count=10000 if=/dev/zero of=newfile
git add .
git commit -m "Finally got assets from designers"
ls -la newfile
# lrwxrwxrwx 1 user user <date> newfile -> ../.git/annex/objects/XX/XX/UUID/UUID
### What version of git-annex are you using? On what operating system?
git-annex version: 4.20130802
Ubuntu 12.04 LTS
### 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.
"""]]
> [[fixed|done]] --[[Joey]]
|