git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Barry Wardell <barry.wardell@gmail.com>
To: git@vger.kernel.org
Cc: Barry Wardell <barry.wardell@gmail.com>
Subject: [PATCH 1/2] git-svn: Add test for git-svn repositories with a gitdir link
Date: Mon, 21 Jan 2013 01:22:01 +0000	[thread overview]
Message-ID: <1358731322-44600-2-git-send-email-barry.wardell@gmail.com> (raw)
In-Reply-To: <1358731322-44600-1-git-send-email-barry.wardell@gmail.com>

Signed-off-by: Barry Wardell <barry.wardell@gmail.com>
---
 t/t9100-git-svn-basic.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh
index 749b75e..4fea8d9 100755
--- a/t/t9100-git-svn-basic.sh
+++ b/t/t9100-git-svn-basic.sh
@@ -306,5 +306,13 @@ test_expect_success 'git-svn works in a bare repository' '
 	git svn fetch ) &&
 	rm -rf bare-repo
 	'
+test_expect_success 'git-svn works in in a repository with a gitdir: link' '
+	mkdir worktree gitdir &&
+	( cd worktree &&
+	git svn init "$svnrepo" &&
+	git init --separate-git-dir ../gitdir &&
+	git svn fetch ) &&
+	rm -rf worktree gitdir
+	'
 
 test_done
-- 
1.8.0

  reply	other threads:[~2013-01-21  1:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 19:53 [PATCH v2] git-svn: Simplify calculation of GIT_DIR Barry Wardell
2012-03-08  0:51 ` Eric Wong
2013-01-21  1:22   ` [PATCH v3 0/2] Make git-svn work with gitdir links Barry Wardell
2013-01-21  1:22     ` Barry Wardell [this message]
2013-01-21  1:22     ` [PATCH 2/2] git-svn: Simplify calculation of GIT_DIR Barry Wardell
2013-01-21  1:50     ` [PATCH v3 0/2] Make git-svn work with gitdir links Junio C Hamano
2013-01-21 14:19       ` Joachim Schmitz
2013-01-21 21:45         ` Philip Oakley
2013-01-21 22:08           ` Junio C Hamano
2013-01-23  2:32     ` Eric Wong
2013-01-23  2:53       ` Junio C Hamano
2013-01-23 12:08       ` Barry Wardell
     [not found]       ` <CAHrK+Z-uXAEgd_HuisbioO8=D7DEdmceeUEz3A1Jr_rtm7a3WA@mail.gmail.com>
2013-01-24  1:27         ` Eric Wong
2013-01-24  5:29       ` Junio C Hamano
2013-01-24 10:14         ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358731322-44600-2-git-send-email-barry.wardell@gmail.com \
    --to=barry.wardell@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).