public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Johannes Sixt <J.Sixt@eudaptics•com>
To: git@vger•kernel.org
Subject: Re: quick bare clones taking longer?
Date: Thu, 10 May 2007 10:56:50 +0200	[thread overview]
Message-ID: <4642DE52.F9F0A5B2@eudaptics.com> (raw)
In-Reply-To: vpqtzul3xzm.fsf@bauges.imag.fr

Matthieu Moy wrote:
> 
> Junio C Hamano <junkio@cox•net> writes:
> 
> >  get_repo_base() {
> > -     (cd "$1" && (cd .git ; pwd)) 2> /dev/null
> > +     (
> > +             cd "`/bin/pwd`" &&
> > +             cd "$1" &&
> > +             (
> > +                     cd .git
> > +                     pwd
> > +             )
> > +     ) 2>/dev/null
> >  }
> 
> Will this work on windows?

Yes. As does the alternative that uses cd -P. MinGW uses bash (3.1
here).

-- Hannes

  parent reply	other threads:[~2007-05-10  8:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  9:09 quick bare clones taking longer? David Miller
2007-05-09 11:09 ` Johannes Schindelin
2007-05-09 15:41 ` Junio C Hamano
2007-05-09 20:06   ` David Miller
2007-05-09 21:48     ` Junio C Hamano
2007-05-09 22:02       ` David Miller
2007-05-09 22:59         ` Junio C Hamano
2007-05-09 23:23           ` David Miller
2007-05-09 23:25             ` Junio C Hamano
2007-05-10  0:11               ` Junio C Hamano
2007-05-10  0:27                 ` Junio C Hamano
2007-05-10  0:29                   ` David Miller
2007-05-10  8:05                 ` Matthieu Moy
2007-05-10  8:25                   ` Junio C Hamano
2007-05-10  8:55                     ` Matthieu Moy
2007-05-10 15:38                       ` Brian Gernhardt
2007-05-12 15:25                         ` Win32 version, was " Johannes Schindelin
2007-05-12 15:48                           ` Brian Gernhardt
2007-05-10  8:56                   ` Johannes Sixt [this message]
2007-05-10 20:52                     ` Dan Nicholson
2007-05-10 21:55                       ` Junio C Hamano
2007-05-10 22:08                         ` Dan Nicholson
2007-05-10 23:22                           ` Junio C Hamano
2007-05-10 17:04                 ` Andy Whitcroft

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=4642DE52.F9F0A5B2@eudaptics.com \
    --to=j.sixt@eudaptics$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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