Re: Managing multiple branches in git
От
Marko Kreen
Тема
Re: Managing multiple branches in git
Дата
Msg-id
e51f66da0906020947q3e6646a9y63166dc218a54175@mail.gmail.com
Ответ на
Re: Managing multiple branches in git (Tom Lane)
Список
Дерево обсуждения
Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Aidan Van Dyk <aidan@highrise.ca>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Greg Stark <greg.stark@enterprisedb.com>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Aidan Van Dyk <aidan@highrise.ca>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Aidan Van Dyk <aidan@highrise.ca>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Greg Stark <greg.stark@enterprisedb.com>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Bruce Momjian <bruce@momjian.us>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Stephen Frost <sfrost@snowman.net>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Stephen Frost <sfrost@snowman.net>
Re: Managing multiple branches in git "Markus Wanner" <markus@bluegap.ch>
Re: Managing multiple branches in git Greg Stark <stark@enterprisedb.com>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "Joshua D. Drake" <jd@commandprompt.com>
Re: Managing multiple branches in git Aidan Van Dyk <aidan@highrise.ca>
Re: Managing multiple branches in git Mark Mielke <mark@mark.mielke.cc>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git Dave Page <dpage@pgadmin.org>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Magnus Hagander <magnus@hagander.net>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git "Joshua D. Drake" <jd@commandprompt.com>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Dave Page <dpage@pgadmin.org>
Re: Managing multiple branches in git Dave Page <dpage@pgadmin.org>
Re: Managing multiple branches in git Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Managing multiple branches in git Robert Haas <robertmhaas@gmail.com>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Peter Eisentraut <peter_e@gmx.net>
Re: Managing multiple branches in git Greg Smith <gsmith@gregsmith.com>
Re: Managing multiple branches in git "Greg Sabino Mullane" <greg@turnstep.com>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Marko Kreen <markokr@gmail.com>
Re: Managing multiple branches in git Florian Weimer <fweimer@bfk.de>
Re: Managing multiple branches in git Andres Freund <andres@anarazel.de>
Re: Managing multiple branches in git Marko Kreen <markokr@gmail.com>
Re: Managing multiple branches in git Dave Page <dpage@pgadmin.org>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git "Markus Wanner" <markus@bluegap.ch>
Re: Managing multiple branches in git Alvaro Herrera <alvherre@commandprompt.com>
Re: Managing multiple branches in git "Markus Wanner" <markus@bluegap.ch>
Re: Managing multiple branches in git Andrew Dunstan <andrew@dunslane.net>
Re: Managing multiple branches in git Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing multiple branches in git Aidan Van Dyk <aidan@highrise.ca>
Re: Managing multiple branches in git "David E. Wheeler" <david@kineticode.com>
Re: Managing multiple branches in git Marko Kreen <markokr@gmail.com>
On 6/2/09, Tom Lane wrote: > Alvaro Herrera writes: > > Hmm, but is there a way to create those clones from a single local > > "database"? > > > (I like the monotone model much better. This mixing of working copies > > and databases as if they were a single thing is silly and uncomfortable > > to use.) > > > I agree, .git as a subdirectory of the working directory doesn't make > much sense to me. > > I wondered for a second about symlinking .git from several checkout > directories to a common master, but AFAICT .git stores both the > "repository" and status information about the current checkout, so > that's not gonna work. You cannot share .git, but you can share object directory (.git/objects). Which contains the bulk data. There are various ways to do it, symlink should be one of them. > In the one large project that I have a git tree for, .git seems to > eat only about as much disk space as the checkout (so apparently the > compression is pretty effective). So it wouldn't be totally impractical > to have a separate repository for each branch, but it sure seems like > an ugly and klugy way to do it. And we'd still end up with the "same" > commit on different branches appearing entirely unrelated. > > At the same time, I don't really buy the theory that relating commits on > different branches via merges will work. In my experience it is very > seldom the case that a patch applies to each back branch with no manual > effort whatever, which is what I gather the merge functionality could > help with. So maybe there's not much help to be had on this ... Sure, if branches are different enough, the merge commit would contain lot of code changes. But still - you would get single "main" commit with log message, plus bunch of merge commits, which may be nicer than several duplicate commits. -- marko
В списке pgsql-hackers по дате отправления