From: Daniel Barkalow <barkalow@iabervon.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/3] Move remote parsing into a library file out of builtin-push.
Date: Thu, 10 May 2007 04:04:10 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0705100355560.18541@iabervon.org> (raw)
In-Reply-To: <7vmz0dktdf.fsf@assigned-by-dhcp.cox.net>
On Thu, 10 May 2007, Junio C Hamano wrote:
> Daniel Barkalow <barkalow@iabervon.org> writes:
>
> > On Thu, 10 May 2007, Junio C Hamano wrote:
> >
> >> This seems to break t9400, with "fatal: bad repository 'gitcvs.git",
> >> upon "git push".
> >>
> >> : gitster t/db/remote; sh t9400-git-cvsserver-server.sh -i -v
> >> * expecting success: cvs -Q co -d cvswork master &&
> >> test "$(echo $(grep -v ^D cvswork/CVS/Entries|cut -d/ -f2,3,5))" = "empty/1.1/"
> >> cvs checkout: Updating cvswork
> >> U cvswork/empty
> >> * ok 1: basic checkout
> >>
> >> * expecting success: echo testfile1 >testfile1 &&
> >> git add testfile1 &&
> >> git commit -q -m "Add testfile1" &&
> >> git push gitcvs.git >/dev/null &&
> >
> > The man page doesn't think this is valid, since it only claims absolute
> > paths to work for local repositories.
>
> Does it? I suspect we need to fix the manpage then, as it is
> fairly common to do
>
> $ git fetch ../next-door-neighbour
>
> and expect the opposite to work as well.
>
> And I think it does today.
Hmm, and I guess URIs on the command line work the same way. How about
requiring a '/' somewhere in a repository argument in order to treat it as
a repository instead of a remote name? Then "../next-door-neighbour" would
work, "./gitcvs.git" would work (in the odd case where you actually have a
bare repository sitting in your working directory), but we'd avoid the
current default of pushing to a bare repository in "./origin/" if nothing
at all is configured.
-Daniel
*This .sig left intentionally blank*
next prev parent reply other threads:[~2007-05-10 8:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 2:04 [PATCH 1/3] Move remote parsing into a library file out of builtin-push Daniel Barkalow
2007-05-10 7:07 ` Junio C Hamano
2007-05-10 7:45 ` Daniel Barkalow
2007-05-10 7:52 ` Junio C Hamano
2007-05-10 8:04 ` Daniel Barkalow [this message]
2007-05-10 8:21 ` Junio C Hamano
2007-05-10 8:33 ` Daniel Barkalow
2007-05-10 8:43 ` Junio C Hamano
2007-05-10 16:40 ` Daniel Barkalow
2007-05-10 8:35 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2007-05-12 2:39 Daniel Barkalow
2007-05-12 7:51 ` Junio C Hamano
2007-05-12 15:45 Daniel Barkalow
2007-05-12 19:27 ` Junio C Hamano
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=Pine.LNX.4.64.0705100355560.18541@iabervon.org \
--to=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).