summaryrefslogtreecommitdiff
path: root/doc/bugs/on--git-dir_and_--work-tree_options.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/on--git-dir_and_--work-tree_options.mdwn')
-rw-r--r--doc/bugs/on--git-dir_and_--work-tree_options.mdwn31
1 files changed, 0 insertions, 31 deletions
diff --git a/doc/bugs/on--git-dir_and_--work-tree_options.mdwn b/doc/bugs/on--git-dir_and_--work-tree_options.mdwn
deleted file mode 100644
index 0bcefbb5d..000000000
--- a/doc/bugs/on--git-dir_and_--work-tree_options.mdwn
+++ /dev/null
@@ -1,31 +0,0 @@
-git-annex does not take into account the --git-dir and --work-tree command line options (while they can be useful when scripting).
-
- > mkdir /tmp/test
- > cd /tmp/test
- > git init
- Initialized empty Git repository in /tmp/test/.git/
- > git annex init test
- init test ok
- > touch foo
- > cd
- > git --git-dir=/tmp/test/.git --work-tree=/tmp/test annex add foo
- git-annex: Not in a git repository.
-
-regular git add works:
-
- > git --git-dir=/tmp/test/.git --work-tree=/tmp/test add foo
- > git --git-dir=/tmp/test/.git --work-tree=/tmp/test status
- # On branch master
- #
- # Initial commit
- #
- # Changes to be committed:
- # (use "git rm --cached <file>..." to unstage)
- #
- # new file: foo
- #
-
-git-annex version: 3.20110702
-
-> [[done]], git-annex now honors `GIT_DIR` and `GIT_WORK_TREE` like other
-> git commands do. --[[Joey]]