From 6f29f9db725131d37af86e2746ff83a6765b4239 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 2 Dec 2011 16:15:18 -0400 Subject: rename --- doc/bugs/--git-dir_and_--work-tree_options.mdwn | 29 ----------------------- doc/bugs/on--git-dir_and_--work-tree_options.mdwn | 29 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 doc/bugs/--git-dir_and_--work-tree_options.mdwn create mode 100644 doc/bugs/on--git-dir_and_--work-tree_options.mdwn diff --git a/doc/bugs/--git-dir_and_--work-tree_options.mdwn b/doc/bugs/--git-dir_and_--work-tree_options.mdwn deleted file mode 100644 index d76a42bff..000000000 --- a/doc/bugs/--git-dir_and_--work-tree_options.mdwn +++ /dev/null @@ -1,29 +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 ..." to unstage) - # - # new file: foo - # - -git-annex version: 3.20110702 - diff --git a/doc/bugs/on--git-dir_and_--work-tree_options.mdwn b/doc/bugs/on--git-dir_and_--work-tree_options.mdwn new file mode 100644 index 000000000..d76a42bff --- /dev/null +++ b/doc/bugs/on--git-dir_and_--work-tree_options.mdwn @@ -0,0 +1,29 @@ +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 ..." to unstage) + # + # new file: foo + # + +git-annex version: 3.20110702 + -- cgit v1.2.3