Added a comment: git annex uninit
fails when I symlink your symlink
This commit is contained in:
parent
f8f1670005
commit
544767a5a4
1 changed files with 45 additions and 0 deletions
|
@ -0,0 +1,45 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="NewUser"
|
||||||
|
nickname="dont.post.me"
|
||||||
|
avatar="http://cdn.libravatar.org/avatar/90f59ddc341eaf9b2657422206c06901"
|
||||||
|
subject="`git annex uninit` fails when I symlink your symlink"
|
||||||
|
date="2023-11-20T04:22:02Z"
|
||||||
|
content="""
|
||||||
|
```
|
||||||
|
$ mkdir annex-test
|
||||||
|
$ cd annex-test/
|
||||||
|
$ git init
|
||||||
|
Initialized empty Git repository in /home/me/annex-test/.git/
|
||||||
|
$ git annex init
|
||||||
|
init (scanning for unlocked files...)
|
||||||
|
ok
|
||||||
|
(recording state in git...)
|
||||||
|
$ cat > .gitignore
|
||||||
|
*
|
||||||
|
$ cat > exampyle.txt
|
||||||
|
hello
|
||||||
|
$ git annex add --no-check-gitignore
|
||||||
|
add .gitignore (non-large file; adding content to git repository) ok
|
||||||
|
add exampyle.txt
|
||||||
|
ok
|
||||||
|
(recording state in git...)
|
||||||
|
$ git commit -m \"added\"
|
||||||
|
[master (root-commit) 2734615] added
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
create mode 100644 .gitignore
|
||||||
|
create mode 120000 exampyle.txt
|
||||||
|
$ ln -rs exampyle.txt what.foo
|
||||||
|
$ git status
|
||||||
|
On branch master
|
||||||
|
nothing to commit, working tree clean
|
||||||
|
$ git annex uninit
|
||||||
|
git-annex: what.foo points to annexed content, but is not checked into git.
|
||||||
|
Perhaps this was left behind by an interrupted git annex add?
|
||||||
|
Not continuing with uninit; either delete or git annex add the file and retry.
|
||||||
|
```
|
||||||
|
What should I do?
|
||||||
|
|
||||||
|
Honestly, I'm happy with git-annex so far, I'm just thinking that I need to re-init with `annex.tune.objecthashlower=true` because my other computer is windows.
|
||||||
|
|
||||||
|
Thanks!
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue