# Git over SMBFS

5 messages from 2010-10-06 to 2010-10-07. Participants: fREW Schmidt, Kai Blin, Casey Dahlin.
Thread: https://gitlist.dev/t/25363

## fREW Schmidt, 2010-10-06 02:26

Subject: Git over SMBFS
Message-ID: <AANLkTik9U_jr6r6BuUcRrk8pjQTacKDY7YbqWnfrCLmD@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTik9U_jr6r6BuUcRrk8pjQTacKDY7YbqWnfrCLmD%40mail.gmail.com

```
A coworker of mine is working on a project that is running on a
windows server.  The project is in git, but we are having a lot of
trouble getting it to work at all.  For example, if he merely does
(from his machine) "git checkout ." it seemingly times out after 680
files being checked out.

Are there any settings we might be able to tweak that might make git
more tolerable of the latency involved in a network based checkout?

--
fREW Schmidt
http://blog.afoolishmanifesto.com

```

## Kai Blin, 2010-10-06 05:36

Subject: Re: Git over SMBFS
Message-ID: <4CAC0AEA.6050502@samba.org>
URL: https://gitlist.dev/e/4CAC0AEA.6050502%40samba.org
In-Reply-To: <AANLkTik9U_jr6r6BuUcRrk8pjQTacKDY7YbqWnfrCLmD@mail.gmail.com>

```
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-10-06 04:26, fREW Schmidt wrote:
> A coworker of mine is working on a project that is running on a
> windows server.

Please tell me you're not really using smbfs as the filesystem but
you're actually using the cifs kernel module. smbfs has been deprecated
years ago and is unlikely to work correctly against servers more recent
than Win NT 4.0.

Cheers,
Kai

- -- 
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkysCuYACgkQEKXX/bF2FpSujgCfU6bRiu/m7OQe68ju5cl7Wl1H
2xoAn1roY9WnFQ1MN3hpFjna/iMfwWob
=xGqM
-----END PGP SIGNATURE-----

```

## fREW Schmidt, 2010-10-06 14:12

Subject: Re: Git over SMBFS
Message-ID: <AANLkTi=Mee1zUK1vX3GTVYfGaVH2dNOr2Phpu=NdrLTm@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3DMee1zUK1vX3GTVYfGaVH2dNOr2Phpu%3DNdrLTm%40mail.gmail.com
In-Reply-To: <4CAC0AEA.6050502@samba.org>

```
> > A coworker of mine is working on a project that is running on a
> > windows server.
>
> Please tell me you're not really using smbfs as the filesystem but
> you're actually using the cifs kernel module. smbfs has been deprecated
> years ago and is unlikely to work correctly against servers more recent
> than Win NT 4.0.

Yeah, sorry, it *is* cifs.
--
fREW Schmidt
http://blog.afoolishmanifesto.com

```

## Casey Dahlin, 2010-10-07 17:40

Subject: Re: Git over SMBFS
Message-ID: <20101007174006.GA31711@fearengine.rdu.redhat.com>
URL: https://gitlist.dev/e/20101007174006.GA31711%40fearengine.rdu.redhat.com
In-Reply-To: <AANLkTik9U_jr6r6BuUcRrk8pjQTacKDY7YbqWnfrCLmD@mail.gmail.com>

```
On Tue, Oct 05, 2010 at 09:26:15PM -0500, fREW Schmidt wrote:
> A coworker of mine is working on a project that is running on a
> windows server.  The project is in git, but we are having a lot of
> trouble getting it to work at all.  For example, if he merely does
> (from his machine) "git checkout ." it seemingly times out after 680
> files being checked out.
> 
> Are there any settings we might be able to tweak that might make git
> more tolerable of the latency involved in a network based checkout?
> 

Sounds to me like the best way would be to make a local copy with

git clone /path/to/cifs/mounted/project

And then do your work on the local hard disk. Later, you can git-push
back in to the cifs folder.

--CJD

```

## fREW Schmidt, 2010-10-07 22:49

Subject: Re: Git over SMBFS
Message-ID: <AANLkTi=Va+rsiewbjHdRzMxKj96gFrvxT4=muMeP9=zq@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3DVa%2BrsiewbjHdRzMxKj96gFrvxT4%3DmuMeP9%3Dzq%40mail.gmail.com
In-Reply-To: <20101007174006.GA31711@fearengine.rdu.redhat.com>

```
On Thu, Oct 7, 2010 at 12:40 PM, Casey Dahlin <cdahlin@redhat.com> wrote:
>
> On Tue, Oct 05, 2010 at 09:26:15PM -0500, fREW Schmidt wrote:
> > A coworker of mine is working on a project that is running on a
> > windows server.  The project is in git, but we are having a lot of
> > trouble getting it to work at all.  For example, if he merely does
> > (from his machine) "git checkout ." it seemingly times out after 680
> > files being checked out.
> >
> > Are there any settings we might be able to tweak that might make git
> > more tolerable of the latency involved in a network based checkout?
> >
>
> Sounds to me like the best way would be to make a local copy with
>
> git clone /path/to/cifs/mounted/project
>
> And then do your work on the local hard disk. Later, you can git-push
> back in to the cifs folder.

That's actually what we've been doing.  I was just curious if there
were another way.


--
fREW Schmidt
http://blog.afoolishmanifesto.com

```
