threads / discuss / 11040

Re: git guidance

Subject: Re: git guidance

## tl;dr

9 messages between Nov 28, 2007 and Nov 29, 2007.

replies: 8people: 5as markdown or json

Al Boldi· Nov 28, 2007, 12:49 UTC · lore
Willy Tarreau wrote:
> It should not turn into an endless thread led by people who want to
> redefine GIT's roadmap, but experience sharing helps a lot with GIT.

Well, now that you mentioned it, if there is one thing I dislike, it's for version control to start mutilating your sources. Version Control should be completely transparent. GIT isn't.

Thanks!

-- Al

Rogan Dawes· Nov 28, 2007, 13:45 UTC · re: Al Boldi · lore
Al Boldi wrote:
Show 13 quoted lines
> Willy Tarreau wrote:
>> It should not turn into an endless thread led by people who want to
>> redefine GIT's roadmap, but experience sharing helps a lot with GIT.
> 
> Well, now that you mentioned it, if there is one thing I dislike, it's for 
> version control to start mutilating your sources.  Version Control should be 
> completely transparent.  GIT isn't.
> 
> Thanks!
> 
> --
> Al
> 

Care to explain? Git is quite happy handling arbitrary binary content, so I find it difficult to believe that it is changing your source code in strange ways.

Rogan
Johannes Schindelin· Nov 28, 2007, 15:46 UTC · re: Rogan Dawes · lore
Hi,
On Wed, 28 Nov 2007, Rogan Dawes wrote:
Show 14 quoted lines
> Al Boldi wrote:
>
> > Willy Tarreau wrote:
> >
> > > It should not turn into an endless thread led by people who want to 
> > > redefine GIT's roadmap, but experience sharing helps a lot with GIT.
> > 
> > Well, now that you mentioned it, if there is one thing I dislike, it's 
> > for version control to start mutilating your sources.  Version Control 
> > should be completely transparent.  GIT isn't.
> 
> Care to explain? Git is quite happy handling arbitrary binary content, 
> so I find it difficult to believe that it is changing your source code 
> in strange ways.

It is nice of you to ask him to explain: Unless this handwaving claim is substantiated, it is quite hard to argue with.

Ciao, Dscho

Al Boldi· Nov 28, 2007, 17:14 UTC · re: Johannes Schindelin · lore
Johannes Schindelin wrote:
> Hi,
Hi!
git@vger sometimes bounces, so let's leave lkml as backup.
Show 16 quoted lines
> On Wed, 28 Nov 2007, Rogan Dawes wrote:
> > Al Boldi wrote:
> > > Willy Tarreau wrote:
> > > > It should not turn into an endless thread led by people who want to
> > > > redefine GIT's roadmap, but experience sharing helps a lot with GIT.
> > >
> > > Well, now that you mentioned it, if there is one thing I dislike, it's
> > > for version control to start mutilating your sources.  Version Control
> > > should be completely transparent.  GIT isn't.
> >
> > Care to explain? Git is quite happy handling arbitrary binary content,
> > so I find it difficult to believe that it is changing your source code
> > in strange ways.
>
> It is nice of you to ask him to explain: Unless this handwaving claim is
> substantiated, it is quite hard to argue with.

Sure, the problem with GIT is that it stores the sources inside a backend container that is only accessible via GIT; iow, you can't retrieve your sources directly / transparently.

One way to achieve transparency could be to allow mounting GIT on a dir-mount point. And just use that dir normally, while GIT manages all the rest in the background.

Thanks!

-- Al

Johannes Schindelin· Nov 28, 2007, 18:14 UTC · re: Al Boldi · lore
Hi,
On Wed, 28 Nov 2007, Al Boldi wrote:
> git@vger sometimes bounces, so let's leave lkml as backup.
Fair enough.
Show 22 quoted lines
> Johannes Schindelin wrote:
> > On Wed, 28 Nov 2007, Rogan Dawes wrote:
> > > Al Boldi wrote:
> > > > Willy Tarreau wrote:
> > > > > It should not turn into an endless thread led by people who want 
> > > > > to redefine GIT's roadmap, but experience sharing helps a lot 
> > > > > with GIT.
> > > >
> > > > Well, now that you mentioned it, if there is one thing I dislike, 
> > > > it's for version control to start mutilating your sources.  
> > > > Version Control should be completely transparent.  GIT isn't.
> > >
> > > Care to explain? Git is quite happy handling arbitrary binary 
> > > content, so I find it difficult to believe that it is changing your 
> > > source code in strange ways.
> >
> > It is nice of you to ask him to explain: Unless this handwaving claim 
> > is substantiated, it is quite hard to argue with.
> 
> Sure, the problem with GIT is that it stores the sources inside a 
> backend container that is only accessible via GIT; iow, you can't 
> retrieve your sources directly / transparently.

That is a very funny way to define a "transparent SCM". Are you complaining about SQL servers being "not transparent"?

By that definition, no SCM, not even CVS, is transparent. Nothing short of unpacked directories of all versions (wasting a lot of disk space) would.

IOW the issue you raised is a non-issue.

Ciao, Dscho

Al Boldi· Nov 28, 2007, 18:30 UTC · re: Johannes Schindelin · lore
Johannes Schindelin wrote:
> By that definition, no SCM, not even CVS, is transparent.  Nothing short
> of unpacked directories of all versions (wasting a lot of disk space)
> would.
Who said anything about unpacking?

I'm talking about GIT transparently serving a Virtual Version Control dir to be mounted on the client.

Thanks!

-- Al

Jakub Narebski· Nov 28, 2007, 18:41 UTC · re: Al Boldi · lore
Al Boldi wrote:
> Johannes Schindelin wrote:
Show 8 quoted lines
>> By that definition, no SCM, not even CVS, is transparent.  Nothing short
>> of unpacked directories of all versions (wasting a lot of disk space)
>> would.
> 
> Who said anything about unpacking?
> 
> I'm talking about GIT transparently serving a Virtual Version Control dir to 
> be mounted on the client.
Are you talking about something like (in alpha IIRC) gitfs?
  http://www.sfgoth.com/~mitch/linux/gitfs/

Besides, you can always use "git show <revision>:<file>". For example gitweb (and I think other web interfaces) can show any version of a file or a directory, accessing only repository.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Al Boldi· Nov 29, 2007, 05:27 UTC · re: Al Boldi · lore
Jakub Narebski wrote:
Show 14 quoted lines
> Al Boldi wrote:
> > Johannes Schindelin wrote:
> >> By that definition, no SCM, not even CVS, is transparent.  Nothing
> >> short of unpacked directories of all versions (wasting a lot of disk
> >> space) would.
> >
> > Who said anything about unpacking?
> >
> > I'm talking about GIT transparently serving a Virtual Version Control
> > dir to be mounted on the client.
>
> Are you talking about something like (in alpha IIRC) gitfs?
>
>   http://www.sfgoth.com/~mitch/linux/gitfs/
This looks like a good start.
> Besides, you can always use "git show <revision>:<file>". For example
> gitweb (and I think other web interfaces) can show any version of a file
> or a directory, accessing only repository.

Sure, browsing is the easy part, but Version Control starts when things become writable.

Thanks for the link!

-- Al

Kyle Moffett· Nov 29, 2007, 12:57 UTC · re: Al Boldi · lore
On Nov 29, 2007, at 00:27:04, Al Boldi wrote:
Show 7 quoted lines
> Jakub Narebski wrote:
>> Besides, you can always use "git show <revision>:<file>". For  
>> example gitweb (and I think other web interfaces) can show any  
>> version of a file or a directory, accessing only repository.
>
> Sure, browsing is the easy part, but Version Control starts when  
> things become writable.

But... git history is very inherently completely immutable once created... that's the only way you can index everything with a simple SHA-1. If you want to write to the "git filesystem" by adding new commits then you need to use the appropriate commands, same as every other VCS on the planet.

Cheers, Kyle Moffett

← back to recent threads