Message from discussion How to set executable bit on files deployed with Git from Windows?
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)
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52)
Subject: Re: How to set executable bit on files deployed with Git from
From: Sven <Sven....@gmail.com>
To: Capistrano <firstname.lastname@example.org>
Content-Type: text/plain; charset=ISO-8859-1
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!
On 12 Jan, 18:33, "Lee Hambley" <lee.hamb...@gmail.com> wrote:
> 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=
> 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
> - 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=
> > 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 184.108.40.206) 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 =
> > > > around this when working with Git?
> > > > Thanks,