Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to set executable bit on files deployed with Git from Windows?

MIME-Version: 1.0
Received: by 10.100.166.9 with SMTP id o9mr2951403ane.0.1231810678469; Mon, 12 
	Jan 2009 17:37:58 -0800 (PST)
Date: Mon, 12 Jan 2009 17:37:58 -0800 (PST)
In-Reply-To: <e2172f210901121533y506c235cra4c853ba1fa4e56e@mail.gmail.com>
X-IP: 68.112.242.56
References: <7e96ae62-c613-49e3-8823-992855b6d259@w1g2000prm.googlegroups.com> 
	<e2172f210901121418k7ed110aak6a0cfce6fdf4e997@mail.gmail.com> 
	<7c747ad2-3268-4ef2-8567-a72c7d093383@x38g2000yqj.googlegroups.com> 
	<e2172f210901121533y506c235cra4c853ba1fa4e56e@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) 
	Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe)
Message-ID: <fa53e5b2-8f24-4312-bba8-07b7ba1002a2@w1g2000prm.googlegroups.com>
Subject: Re: How to set executable bit on files deployed with Git from 
	Windows?
From: Sven <Sven....@gmail.com>
To: Capistrano <capistrano@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You know, as I think about it I guess that jibes with the notion of
not versioning directories in Git. I'll go ahead with the Capistrano
task. Thanks for your thoughts, Lee!

-Sven

On 12 Jan, 18:33, "Lee Hambley" <lee.hamb...@gmail.com> wrote:
> Sven,
> I'm pretty sure thats not possible with GIT, I recall seeing Torvalds'
> keynote on git (try TED.com) and he was harping on about how there wasn't=
 a
> need for such a thing in SCM (why would your SCM care if your file is
> supposed to be executable?) - but that it was possible to hook this in
> with behaviors after the checkout/update was complete.
>
> A command to update that property on the file with Capistrano would be
> trivial!
>
> - Lee
>
> 2009/1/12 Sven <Sven....@gmail.com>
>
>
>
> > That's my fallback plan, but I was hoping to be able to represent the
> > permission coming out of the repository. If I can't, I can't.
>
> > Thanks,
>
> > Sven
>
> > On Jan 12, 5:18 pm, "Lee Hambley" <lee.hamb...@gmail.com> wrote:
> > > Sven,
> > > =A0There's nothing to stop you writing a task that grants the executa=
ble
> > flag
> > > once the files have been deployed.
>
> > > - Lee
>
> > > 2009/1/12 Sven <Sven....@gmail.com>
>
> > > > I'm deploying a Rails 2.2.2 app from Windows XP Pro using the msys
> > > > version of Git (version 1.5.6.1) and Capistrano v2.5.2. After
> > > > deploying, the files in my scripts folder lack execution permission=
.
> > > > With SVN this was dealt with by setting svn:executable. Is there a =
way
> > > > around this when working with Git?
>
> > > > Thanks,
>