bada...@gmail.com (Alex Hunsaker) writes:
On Fri, Jan 8, 2010 at 02:03, Magnus Hagander mag...@hagander.net wrote:
You can always create your own branch with just the .gitignore files
and merge that into whatever you're working on :)
The only thing annoying about that is if you generate diffs
Robert Haas robertmh...@gmail.com wrote:
What I'm interested in is being able to run 'git status' on a tree
in which I've run a build without getting a lot of extra output,
and that will require ignoring all the build products.
If you prefer to keep it all in one directory tree, something
I wrote:
git status | grep '^#[^ ]' | sed -e 's/#\t//' \
-e '/^[^\/][^\/]*$/ s/^/\//' .gitignore
I guess that part can be simplified to:
git status | grep '^#[^ ]' | sed -e 's/#\t/\//' .gitignore
-Kevin
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make
* Magnus Hagander mag...@hagander.net [100109 13:05]:
On Sat, Jan 9, 2010 at 18:33, Aidan Van Dyk ai...@highrise.ca wrote:
* Magnus Hagander mag...@hagander.net [100109 12:03]:
If that's the only remaining obstacle, I'm willing to work up some
test scripts around that. But I'm not going
Hi,
Another occasion to show ignorance, I couldn't resist!
Tom Lane t...@sss.pgh.pa.us writes:
What you're
talking about would require a great deal more maintenance effort, and
I don't see the point compared to using a VPATH build.
I've discovered VPATH builds pretty recently, in the
On Sat, Jan 9, 2010 at 05:54, Alvaro Herrera alvhe...@commandprompt.com wrote:
Tom Lane escribió:
David Fetter da...@fetter.org writes:
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote:
Probably eventually we'll be on git and this will be moot, but that
doesn't seem to be ready to
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
Do .gitignore files have the same format as .cvsignore? If that's the
case then it's simply a matter of a find /source -name .cvsignore
-exec
cp {} .gitignore \; or similar, isn't it? Doesn't sound like
something
anybody should sweat
On fre, 2010-01-08 at 20:03 -0800, David Fetter wrote:
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote:
Probably eventually we'll be on git and this will be moot, but that
doesn't seem to be ready to happen.
What still needs to happen on this? Clearly this would be a post-8.5
On Sat, Jan 09, 2010 at 12:47:00PM +0100, Magnus Hagander wrote:
But we're *never* going to get something that's *guaranteed* 100%
safe,
You can end the sentence right there. *Everything* has a strictly
positive probability of catastrophic failure.
not when going from something like CVS...
Magnus Hagander mag...@hagander.net writes:
If/when we are moving the main repository, we should use the first
one. Yes, this will invalidate all current git clones out there, but
that's a one-time cost. Will there be issues? Possibly. But we're
*never* going to get something that's
Peter Eisentraut pete...@gmx.net writes:
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
Do .gitignore files have the same format as .cvsignore?
The format is the same, but while cvsignore files currently list a few
dozen files, the proposed gitignore would list all files that are
On Sat, Jan 9, 2010 at 17:32, Tom Lane t...@sss.pgh.pa.us wrote:
Magnus Hagander mag...@hagander.net writes:
If/when we are moving the main repository, we should use the first
one. Yes, this will invalidate all current git clones out there, but
that's a one-time cost. Will there be issues?
On lör, 2010-01-09 at 12:00 -0500, Tom Lane wrote:
Peter Eisentraut pete...@gmx.net writes:
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
Do .gitignore files have the same format as .cvsignore?
The format is the same, but while cvsignore files currently list a few
dozen
* Magnus Hagander mag...@hagander.net [100109 12:03]:
If that's the only remaining obstacle, I'm willing to work up some
test scripts around that. But I'm not going to do that if it's going
to fall over on something else as well, because it'll be a nontrivial
amount of work to test ir
On Sat, Jan 9, 2010 at 18:33, Aidan Van Dyk ai...@highrise.ca wrote:
* Magnus Hagander mag...@hagander.net [100109 12:03]:
If that's the only remaining obstacle, I'm willing to work up some
test scripts around that. But I'm not going to do that if it's going
to fall over on something else as
Magnus Hagander mag...@hagander.net writes:
On Sat, Jan 9, 2010 at 18:33, Aidan Van Dyk ai...@highrise.ca wrote:
It's already been done. It was not a lot of work (just processor time).
It's even already been posted to -hackers, including what the
differences were (i.e. which $Tags$ differed,
On Sat, Jan 09, 2010 at 12:47:00PM +0100, Magnus Hagander wrote:
On Sat, Jan 9, 2010 at 05:54, Alvaro Herrera alvhe...@commandprompt.com
wrote:
Tom Lane escribió:
David Fetter da...@fetter.org writes:
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote:
Probably eventually we'll
On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Peter Eisentraut pete...@gmx.net writes:
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
Do .gitignore files have the same format as .cvsignore?
The format is the same, but while cvsignore files currently list a few
Robert Haas wrote:
On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Peter Eisentraut pete...@gmx.net writes:
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
Do .gitignore files have the same format as .cvsignore?
The format is the same,
On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan and...@dunslane.net wrote:
Robert Haas wrote:
On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Peter Eisentraut pete...@gmx.net writes:
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
Do .gitignore files have the same
Robert Haas robertmh...@gmail.com writes:
On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan and...@dunslane.net wrote:
Robert Haas wrote:
What I want is to ignore all of the build products
Use a vpath build, and you'll keep those artifacts out of your source tree.
I suppose that's one answer,
On lör, 2010-01-09 at 17:19 -0500, Robert Haas wrote:
Oh. Never mind. That doesn't seem useful enough to be worth spending
time on. What I want is to ignore all of the build products, so that
when I do 'git status' in my working tree, I only see the the files
I've actually
On Sat, Jan 9, 2010 at 5:44 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Robert Haas robertmh...@gmail.com writes:
On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan and...@dunslane.net wrote:
Robert Haas wrote:
What I want is to ignore all of the build products
Use a vpath build, and you'll keep
On lör, 2010-01-09 at 17:12 -0500, Robert Haas wrote:
Oh. Never mind. That doesn't seem useful enough to be worth spending
time on. What I want is to ignore all of the build products, so that
when I do 'git status' in my working tree, I only see the the files
I've actually added/changed.
On Sat, Jan 9, 2010 at 5:53 PM, Peter Eisentraut pete...@gmx.net wrote:
On lör, 2010-01-09 at 17:12 -0500, Robert Haas wrote:
Oh. Never mind. That doesn't seem useful enough to be worth spending
time on. What I want is to ignore all of the build products, so that
when I do 'git status' in
Robert Haas robertmh...@gmail.com writes:
... What I'm interested in is being
able to run 'git status' on a tree in which I've run a build without
getting a lot of extra output, and that will require ignoring all the
build products.
I'm fairly hesitant to set up ignore files that list *all*
On Sat, Jan 9, 2010 at 6:20 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Robert Haas robertmh...@gmail.com writes:
... What I'm interested in is being
able to run 'git status' on a tree in which I've run a build without
getting a lot of extra output, and that will require ignoring all the
build
Peter Eisentraut wrote:
Probably someone to actually track the open items that are mentioned
every time this discussion happens.
http://wiki.postgresql.org/wiki/Switching_PostgreSQL_from_CVS_to_Git now
has what I believe the state of the world to be in this area.
--
Greg Smith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jan 07, 2010 at 04:44:49PM -0700, Alex Hunsaker wrote:
On Thu, Jan 7, 2010 at 15:16, Tim Bunce tim.bu...@pobox.com wrote:
Is there any reason not to add .gitignore files into the repository?
They'll make no difference to those who don't
On Fri, Jan 8, 2010 at 00:44, Alex Hunsaker bada...@gmail.com wrote:
On Thu, Jan 7, 2010 at 15:16, Tim Bunce tim.bu...@pobox.com wrote:
Is there any reason not to add .gitignore files into the repository?
They'll make no difference to those who don't use git, but be very
helpful to, and
Magnus Hagander escribió:
On Fri, Jan 8, 2010 at 00:44, Alex Hunsaker bada...@gmail.com wrote:
On Thu, Jan 7, 2010 at 15:16, Tim Bunce tim.bu...@pobox.com wrote:
Is there any reason not to add .gitignore files into the repository?
They'll make no difference to those who don't use git, but
On Fri, Jan 8, 2010 at 02:03, Magnus Hagander mag...@hagander.net wrote:
You can always create your own branch with just the .gitignore files
and merge that into whatever you're working on :)
The only thing annoying about that is if you generate diffs ala git
diff origin/master.. you get your
On Friday 08 January 2010 17:38:15 Alex Hunsaker wrote:
On Fri, Jan 8, 2010 at 02:03, Magnus Hagander mag...@hagander.net wrote:
You can always create your own branch with just the .gitignore files
and merge that into whatever you're working on :)
The only thing annoying about that is if
On Thu, Jan 7, 2010 at 5:45 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Peter Eisentraut pete...@gmx.net writes:
On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote:
Is there any reason not to add .gitignore files into the repository?
I already find the .cvsignore files to be useless and an
Robert Haas escreveu:
I would be willing to maintain .gitignore files, under the agreement
that if I should fail or cease to do so, and no one else wants to take
over, then they all get removed. Would that be acceptable?
-1. I tend to agree with Tom and Peter. Why don't you use vpath builds
On Fri, Jan 8, 2010 at 9:21 PM, Euler Taveira de Oliveira
eu...@timbira.com wrote:
Robert Haas escreveu:
I would be willing to maintain .gitignore files, under the agreement
that if I should fail or cease to do so, and no one else wants to take
over, then they all get removed. Would that be
Robert Haas robertmh...@gmail.com writes:
Tom's stated position was that the only way this was going to happen
is if it regularly annoyed someone with access to the core repository.
I am, and I do.
Yeah. I don't see the harm in it if Robert (or some other git user)
will contract to maintain
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote:
Probably eventually we'll be on git and this will be moot, but that
doesn't seem to be ready to happen.
What still needs to happen on this? Clearly this would be a post-8.5
(or whatever the new release number is) thing, but apart from
David Fetter da...@fetter.org writes:
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote:
Probably eventually we'll be on git and this will be moot, but that
doesn't seem to be ready to happen.
What still needs to happen on this? Clearly this would be a post-8.5
(or whatever the new
Tom Lane escribió:
David Fetter da...@fetter.org writes:
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote:
Probably eventually we'll be on git and this will be moot, but that
doesn't seem to be ready to happen.
What still needs to happen on this? Clearly this would be a
On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote:
I've a .git/info/exclude file I pulled from a link on the dev wiki.
Some of the changes I'm making create new files that ought to be added
to the excluded files. I can easily add them to my .git/info/exclude
file but it's much more work for
On Thursday 07 January 2010 23:32:27 Peter Eisentraut wrote:
On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote:
I've a .git/info/exclude file I pulled from a link on the dev wiki.
Some of the changes I'm making create new files that ought to be added
to the excluded files. I can easily
Peter Eisentraut pete...@gmx.net writes:
On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote:
Is there any reason not to add .gitignore files into the repository?
I already find the .cvsignore files to be useless and an annoyance to
keep up to date (well, I basically ignore them and someone
On Thu, Jan 07, 2010 at 05:45:08PM -0500, Tom Lane wrote:
Peter Eisentraut pete...@gmx.net writes:
On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote:
Is there any reason not to add .gitignore files into the repository?
I already find the .cvsignore files to be useless and an annoyance to
On Thu, Jan 7, 2010 at 15:16, Tim Bunce tim.bu...@pobox.com wrote:
Is there any reason not to add .gitignore files into the repository?
They'll make no difference to those who don't use git, but be very
helpful to, and maintained by, those who do.
Since it seems we don't want them in CVS,
45 matches
Mail list logo