Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Antoine Pelisse
> Doesn't Python come with a standard subprocess module that lets you > spawn external programs safely, similar to the way Perl's list form > open(), e.g. "open($fh, "-|", 'git', @args)", works? You mean something like this: p1 = subprocess.Popen([backend.command()], stdout=subprocess.PIPE) s

[PATCH] tests: turn on test-lint by default

2013-01-02 Thread Jeff King
On Wed, Jan 02, 2013 at 06:02:48PM -0800, Junio C Hamano wrote: > Torsten Bögershausen writes: > > > When the dust has settled, we can either enable the check always, > > or mention "make test-lint-shell-syntax" in the Documentation. > > In the longer term, I'm pretty much in favor of enabling

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Junio C Hamano
Chris Rorvick writes: > outdir needs to be quoted in the formatted string, i.e.: > > "%s | (cd '%s' >/dev/null ..." The issue is real, but I am afraid that the above is not sufficient because outdir can contain single quotes. I think other places that call out to external processes share the

[RFD] annnotating a pair of commit objects?

2013-01-02 Thread Junio C Hamano
I'd like a datastore that maps a pair of commit object names to another object name, such that: * When looking at two commits A and B, efficiently query all data associated with a pair of commits where X is contained in the range A..B and not in B..A, and Y is contained in the range B..

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Chris Rorvick
On Tue, Jan 1, 2013 at 11:26 AM, Eric S. Raymond wrote: > diff --git a/git-cvsimport.py b/git-cvsimport.py > new file mode 100755 > index 000..6407e8a > --- /dev/null > +++ b/git-cvsimport.py > @@ -0,0 +1,342 @@ > +#!/usr/bin/env python > +# > +# Import CVS history into git > +# > +# Intended

Re: [PATCH V2] t9810: Do not use sed -i

2013-01-02 Thread Pete Wyckoff
gits...@pobox.com wrote on Wed, 02 Jan 2013 15:06 -0800: > Pete Wyckoff writes: > > > tbo...@web.de wrote on Wed, 02 Jan 2013 00:20 +0100: > >> sed -i is not portable on all systems. > >> Use sed with different input and output files. > >> Utilize a tmp file whenever needed > >> > >> Added missi

Re: [RFH] NetBSD 6?

2013-01-02 Thread Junio C Hamano
Greg Troxel writes: > I realize a README.foo file for N different systems could be clutter, > but having these checked in would provide the concise help that people > on any of those platforms need. Our Makefile documents knobs people on various platforms can tweak (PYTHON_PATH and OLD_ICONV are

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Junio C Hamano
Torsten Bögershausen writes: > When the dust has settled, we can either enable the check always, > or mention "make test-lint-shell-syntax" in the Documentation. In the longer term, I'm pretty much in favor of enabling all the checks that are cheap by default, as that would help people catch eas

Re: [RFH] NetBSD 6?

2013-01-02 Thread Greg Troxel
Junio C Hamano writes: > I would appreciate if somebody with more familiarlity with the > platform can suggest a better alternative than applying the > following patch to our Makefile. Right now I have an equivalent of > this change in config.mak locally when building on the said > platform. I

Re: [RFH] NetBSD 6?

2013-01-02 Thread Greg Troxel
Junio C Hamano writes: > [query about NetBSD-6] > The "2.7" bit certainly looks fishy, as users should be able to > choose between "2.6" and "2.7" (and possibly "3.0"), IIUC. > > + PYTHON_PATH = /usr/pkg/bin/python2.7 > + PERL_PATH = /usr/pkg/bin/perl (I am one of the people who maint

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Torsten Bögershausen
On 03.01.13 01:16, Junio C Hamano wrote: > Torsten Bögershausen writes: > >> At least on my system the following combination works: >> >> git diff >> diff --git a/t/Makefile b/t/Makefile >> index f8f8c54..391a5ca 100644 >> --- a/t/Makefile >> +++ b/t/Makefile >> @@ -8,7 +8,7 @@ >> >> #GIT_TEST

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Junio C Hamano
Torsten Bögershausen writes: > At least on my system the following combination works: > > git diff > diff --git a/t/Makefile b/t/Makefile > index f8f8c54..391a5ca 100644 > --- a/t/Makefile > +++ b/t/Makefile > @@ -8,7 +8,7 @@ > > #GIT_TEST_OPTS = --verbose --debug > SHELL_PATH ?= $(SHELL) > -

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Junio C Hamano
Junio C Hamano writes: > I would actually not add this to TEST_LINT by default, especially > when "duplicates" and "executable" that are much simpler and less > likely to hit false positives are not on by default. > > At least, a change to add this to TEST_LINT by default must wait to > be merged

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Junio C Hamano
Jeff King writes: > On Tue, Jan 01, 2013 at 10:40:08PM +0100, Torsten Bögershausen wrote: > >> Add the perl script "check-non-portable-shell.pl" to detect non-portable >> shell syntax > > Cool. Thanks for adding more test-lint. But... > >> diff --git a/t/Makefile b/t/Makefile >> index 88e289f..7b

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Torsten Bögershausen
On 03.01.13 00:22, Jeff King wrote: > On Thu, Jan 03, 2013 at 12:14:32AM +0100, Torsten Bögershausen wrote: > >>> This is wrong if $(PERL_PATH) contains spaces, no? Doing "$(PERL_PATH)" >>> is also wrong, because the expansion happens in 'make', and a >>> $(PERL_PATH) with double-quotes would fool

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Martin Langhoff
On Wed, Jan 2, 2013 at 5:28 PM, Eric S. Raymond wrote: > Martin Langhoff : >> I dealt with enough CVS repos to see that the branch point could be >> ambiguous, and that some cases were incurably ugly and ambiguous. > > You are quite right, but you have misintepreted the subject of my > confidence.

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Jeff King
On Thu, Jan 03, 2013 at 12:14:32AM +0100, Torsten Bögershausen wrote: > > This is wrong if $(PERL_PATH) contains spaces, no? Doing "$(PERL_PATH)" > > is also wrong, because the expansion happens in 'make', and a > > $(PERL_PATH) with double-quotes would fool the shell. Since we export > > $PERL_PA

[PATCH V2] test: Add check-non-portable-shell.pl

2013-01-02 Thread Torsten Bögershausen
Add the perl script "check-non-portable-shell.pl" to detect non-portable shell syntax "echo -n" is an example of a shell command working on Linux, but not on Mac OS X. These shell commands are checked and reported as error: - "echo -n" (printf should be used) - "sed -i" (Use a temp file) - arrays

Re: git filter-branch doesn't dereference annotated tags

2013-01-02 Thread Junio C Hamano
Grégory Pakosz writes: > So we have an annotated tag that points to a commit that is rewritten > to nothing as the result of the filtering. What should happen? If the user asked to filter that tag itself, it may make sense to remove it, rather than keeping it pointing at the original commit, bec

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Torsten Bögershausen
On 02.01.13 10:46, Jeff King wrote:> On Tue, Jan 01, 2013 at 10:40:08PM +0100, Torsten Bögershausen wrote: > >> Add the perl script "check-non-portable-shell.pl" to detect non-portable >> shell syntax > > Cool. Thanks for adding more test-lint. But... > >> diff --git a/t/Makefile b/t/Makefile >

[RFH] NetBSD 6?

2013-01-02 Thread Junio C Hamano
I would appreciate if somebody with more familiarlity with the platform can suggest a better alternative than applying the following patch to our Makefile. Right now I have an equivalent of this change in config.mak locally when building on the said platform. The "2.7" bit certainly looks fishy,

Re: [PATCH V2] t9810: Do not use sed -i

2013-01-02 Thread Junio C Hamano
Pete Wyckoff writes: > tbo...@web.de wrote on Wed, 02 Jan 2013 00:20 +0100: >> sed -i is not portable on all systems. >> Use sed with different input and output files. >> Utilize a tmp file whenever needed >> >> Added missing && at 2 places >> >> Signed-off-by: Torsten Bögershausen > > One mor

Re: [PATCH V2] t9810: Do not use sed -i

2013-01-02 Thread Pete Wyckoff
tbo...@web.de wrote on Wed, 02 Jan 2013 00:20 +0100: > sed -i is not portable on all systems. > Use sed with different input and output files. > Utilize a tmp file whenever needed > > Added missing && at 2 places > > Signed-off-by: Torsten Bögershausen One more teensy fix is needed in this hunk

Re: Missing Refs after Garbage Collection

2013-01-02 Thread Martin Fick
On Friday, December 21, 2012 06:41:43 pm Earl Gresh wrote: > Hi- > > I have observed that after running GC, one particular git > repository ended up with some missing refs in the > refs/changes/* namespace the Gerrit uses for storing > patch sets. The refs were valid and should not have been > pru

[PATCH 2/2] format-patch: give --reroll-count a short synonym -v

2013-01-02 Thread Junio C Hamano
Accept "-v" as a synonym to "--reroll-count", so that users can say "git format-patch -v4 master", instead of having to fully spell it out as "git format-patch --reroll-count=4 master". Signed-off-by: Junio C Hamano --- * As I do not think of a reason why users would want to tell the command

[PATCH 1/2] format-patch: document and test --reroll-count

2013-01-02 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- * This comes on top of the 7 patches that have been cooking on 'pu' (http://thread.gmane.org/gmane.comp.version-control.git/212036), and I am planning to squash this to 7/7 that adds --reroll-count option to the code. This is sent as a separate patch to

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Eric S. Raymond
Martin Langhoff : > I dealt with enough CVS repos to see that the branch point could be > ambiguous, and that some cases were incurably ugly and ambiguous. You are quite right, but you have misintepreted the subject of my confidence. I am under no illusion that the new cvsimport/cvsps pair is a

Re: git filter-branch doesn't dereference annotated tags

2013-01-02 Thread Grégory Pakosz
> I was wondering if it should be > > sha1=$(git rev-parse --verify "$ref") > > or something that does not dereference a tag at all. > > The way I read what that loop seems to want to do is: > > Read each refname that was given originally from the file > $tempdir/heads, find

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Dan McGee
On Wed, Jan 2, 2013 at 10:35 AM, Junio C Hamano wrote: > Dan McGee writes: > >> This works great now, thanks! I ran it through our package build >> scripts and all tests now pass as expected. > > If you have a chance, could you try tip of the 'next' branch without > this patch applied? We had an

Re: [PATCH] merge: Honor prepare-commit-msg return code

2013-01-02 Thread Junio C Hamano
Antoine Pelisse writes: >>> prepare-commit-msg hook is run when committing to prepare the log >>> message. If the exit-status is non-zero, the commit should be aborted. >> >> I was scratching my head why you CC'ed Jay, until I dug up 65969d4 >> (merge: honor prepare-commit-msg hook, 2011-02-14).

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Martin Langhoff
On Wed, Jan 2, 2013 at 11:41 AM, Eric S. Raymond wrote: > Martin Langhoff : >> Replacement with something more solid is welcome, but until you are >> extremely confident of its handling of legacy setups... I would still >> provide the old cvsimport, perhaps in contrib. > > I am extremely confident

Re: [PATCH v3] git-clean: Display more accurate delete messages

2013-01-02 Thread Junio C Hamano
Junio C Hamano writes: > Zoltan Klinger writes: > >> +static const char* MSG_REMOVE = "Removing %s\n"; >> +static const char* MSG_WOULD_REMOVE = "Would remove %s\n"; >> +static const char* MSG_WOULD_NOT_REMOVE = "Would not remove %s\n"; I also noticed that this message is not used, which mwans

Re: [PATCH] merge: Honor prepare-commit-msg return code

2013-01-02 Thread Antoine Pelisse
>> prepare-commit-msg hook is run when committing to prepare the log >> message. If the exit-status is non-zero, the commit should be aborted. > > I was scratching my head why you CC'ed Jay, until I dug up 65969d4 > (merge: honor prepare-commit-msg hook, 2011-02-14). I did as suggested in "Submitt

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Jeff King
On Wed, Jan 02, 2013 at 08:34:42AM -0800, Junio C Hamano wrote: > Jeff King writes: > > > Whether we end up doing something with contrib and tests or not, the > > patch below gives a minimal fix in the meantime. > > Replacing the symbolic link with write_script that uses exported > variables lo

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Stefano Lattarini
On 01/02/2013 09:25 PM, Junio C Hamano wrote: > Stefano Lattarini writes: > >>> ifdef AUTOCONFIGURED >>> -config.status: configure >>> - $(QUIET_GEN)if test -f config.status; then \ >>> +# We avoid depending on 'configure' here, because it gets rebuilt >>> +# every time GIT-VERSION-FILE is mod

Re: [PATCH] merge: Honor prepare-commit-msg return code

2013-01-02 Thread Junio C Hamano
Antoine Pelisse writes: > prepare-commit-msg hook is run when committing to prepare the log > message. If the exit-status is non-zero, the commit should be aborted. I was scratching my head why you CC'ed Jay, until I dug up 65969d4 (merge: honor prepare-commit-msg hook, 2011-02-14). > +test_exp

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Junio C Hamano
Stefano Lattarini writes: >> ifdef AUTOCONFIGURED >> -config.status: configure >> -$(QUIET_GEN)if test -f config.status; then \ >> +# We avoid depending on 'configure' here, because it gets rebuilt >> +# every time GIT-VERSION-FILE is modified, only to update the embedded >> +# version numbe

Re: [PATCH v3] git-clean: Display more accurate delete messages

2013-01-02 Thread Junio C Hamano
Zoltan Klinger writes: > +static const char* MSG_REMOVE = "Removing %s\n"; > +static const char* MSG_WOULD_REMOVE = "Would remove %s\n"; > +static const char* MSG_WOULD_NOT_REMOVE = "Would not remove %s\n"; > +static const char* MSG_WOULD_IGNORE_GIT_DIR = "Would ignore untracked git > repository

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Stefano Lattarini
On 01/02/2013 05:50 PM, Junio C Hamano wrote: > Stefano Lattarini writes: > >> On 01/02/2013 09:48 AM, Jonathan Nieder wrote: >>> Jeff King wrote: >>> It seems I am late to the party. But FWIW, this looks the most sane to me of the patches posted in this thread. >>> ... >> FYI, this see

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Junio C Hamano
"Eric S. Raymond" writes: > Junio C Hamano : >> As your version already knows how to detect the case where cvsps is >> too old to operate with it, I imagine it to be straight-forward to >> ship the old cvsimport under obscure name, "git cvsimport--old" or >> something, and spawn it from your vers

Re: [PATCH] merge: Honor prepare-commit-msg return code

2013-01-02 Thread Antoine Pelisse
On Wed, Jan 2, 2013 at 7:42 PM, Antoine Pelisse wrote: > prepare-commit-msg hook is run when committing to prepare the log > message. If the exit-status is non-zero, the commit should be aborted. > > While the script is run before committing a successful merge, the > exit-status is ignored and a n

[PATCH] merge: Honor prepare-commit-msg return code

2013-01-02 Thread Antoine Pelisse
prepare-commit-msg hook is run when committing to prepare the log message. If the exit-status is non-zero, the commit should be aborted. While the script is run before committing a successful merge, the exit-status is ignored and a non-zero exit doesn't abort the commit. Abort the commit if prepa

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Eric S. Raymond
Junio C Hamano : > As your version already knows how to detect the case where cvsps is > too old to operate with it, I imagine it to be straight-forward to > ship the old cvsimport under obscure name, "git cvsimport--old" or > something, and spawn it from your version when necessary, perhaps > afte

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Junio C Hamano
"Eric S. Raymond" writes: > If you try to use new git-cvsimport with old cvsps, old cvsps will complain > of an invalid argument and git-cvsimport will quit. I see an opening for smoother transition here. Like it or not, you cannot force distros to ship with cvsps 3.0 when we ship our 1.8.2 (or

Re: [PATCH 2/3] SubmittingPatches: mention subsystems with dedicated repositories

2013-01-02 Thread Junio C Hamano
Junio C Hamano writes: > Jason Holden writes: > >> Any reason to leave out the maintainers email addresses? > > Nothing particular, other than that I did not find anywhere in the > file that does not break the flow. I've prepared this on top of the previous three. The second hunk that updates

Re: [PATCH] gitk: add a checkbox to control the visibility of tags

2013-01-02 Thread Junio C Hamano
Lukasz Stelmach writes: > W dniu 02.01.2013 08:24, Junio C Hamano pisze: >> Paul Mackerras writes: >> >>> On Sat, Dec 01, 2012 at 06:16:25PM -0800, Junio C Hamano wrote: Łukasz Stelmach writes: > Enable hiding of tags displayed in the tree as yellow labels. > If a repository

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Martin von Zweigbergk
> diff --git a/Makefile b/Makefile > index 26b697d..2f5e2ab 100644 > --- a/Makefile > +++ b/Makefile > @@ -2167,8 +2167,14 @@ configure: configure.ac GIT-VERSION-FILE > $(RM) $<+ > > ifdef AUTOCONFIGURED > -config.status: configure > - $(QUIET_GEN)if test -f config.status; then \ > +

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Junio C Hamano
Stefano Lattarini writes: > On 01/02/2013 09:48 AM, Jonathan Nieder wrote: >> Jeff King wrote: >> >>> It seems I am late to the party. But FWIW, this looks the most sane to >>> me of the patches posted in this thread. >> ... > FYI, this seems a sane approach to me > The only nit I have to of

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Thomas Berg
On Wed, Jan 2, 2013 at 5:41 PM, Eric S. Raymond wrote: > Martin Langhoff : >> Replacement with something more solid is welcome, but until you are >> extremely confident of its handling of legacy setups... I would still >> provide the old cvsimport, perhaps in contrib. > > I am extremely confident.

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Andreas Schwab
"Eric S. Raymond" writes: > Two of the three claims in this paragraph are false. The manual page > does not tell you what is true, which is that old cvsps will fuck up > every branch by putting the root point at the wrong place. That doesn't look like being a widespread problem, or more people

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Eric S. Raymond
Martin Langhoff : > Replacement with something more solid is welcome, but until you are > extremely confident of its handling of legacy setups... I would still > provide the old cvsimport, perhaps in contrib. I am extremely confident. I built a test suite so I could be. -- http:/

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Martin Langhoff
First of all, I am at the same time a sad, nostalgic, and very happy that old cvsimport is getting replaced. On Wed, Jan 2, 2013 at 11:18 AM, Eric S. Raymond wrote: > Two of the three claims in this paragraph are false. The manual page > does not tell you what is true, which is that old cvsps wi

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Jonathan Nieder
Eric S. Raymond wrote: > Jonathan Nieder : >> The former is already loudly advertised in the package description and >> manpage, at least lets you get work done, and works fine for simple >> repositories with linear history. > > Two of the three claims in this paragraph are false. Give me a break

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Junio C Hamano
Dan McGee writes: > This works great now, thanks! I ran it through our package build > scripts and all tests now pass as expected. If you have a chance, could you try tip of the 'next' branch without this patch applied? We had an equivalent patch cooking there for some time by now. Thanks. --

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Junio C Hamano
Jeff King writes: > Whether we end up doing something with contrib and tests or not, the > patch below gives a minimal fix in the meantime. Replacing the symbolic link with write_script that uses exported variables looks like a familiar pattern. I like it. Oh, wait. That pattern is of course

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Junio C Hamano
Jeff King writes: > So taking all of that, a more idiomatic perl script would look something > like: > > my $exit_code; > sub err { > my $msg = shift; > print "$ARGV:$.: error: $msg: $_\n"; > $exit_code = 1; > } > > while (<>) { > chomp; > if (/^\s*sed\s+-i/) { >

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Eric S. Raymond
Jonathan Nieder : > The former is already loudly advertised in the package description and > manpage, at least lets you get work done, and works fine for simple > repositories with linear history. Two of the three claims in this paragraph are false. The manual page does not tell you what is true,

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Jonathan Nieder
Eric S. Raymond wrote: > Jonathan Nieder : >> Speaking with my Debian packager hat on: the updated cvsps is not >> available in Debian. "git cvsimport" is, and it has users that report >> bugs from time to time. With this change, I would either have to take >> on responsibility for maintenance o

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Dan McGee
On Wed, Jan 2, 2013 at 2:59 AM, Jeff King wrote: > On Tue, Jan 01, 2013 at 11:18:46PM -0800, Junio C Hamano wrote: > >> Jeff King writes: >> >> > [1] This symlink is doubly wrong, because any use of symbolic links >> > in the test scripts needs to depend on the SYMLINKS prereq, and this >> >

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Stefano Lattarini
On 01/02/2013 09:48 AM, Jonathan Nieder wrote: > Jeff King wrote: > >> It seems I am late to the party. But FWIW, this looks the most sane to >> me of the patches posted in this thread. > > Thanks. config.status runs ./configure itself, though, so the rule > should actually be > > config.

Re: [PATCH v3 02/19] Improve documentation and comments regarding directory traversal API

2013-01-02 Thread Adam Spiers
On Tue, Jan 1, 2013 at 8:52 PM, Junio C Hamano wrote: > Adam Spiers writes: > >> diff --git a/Documentation/technical/api-directory-listing.txt >> b/Documentation/technical/api-directory-listing.txt >> index 0356d25..944fc39 100644 >> --- a/Documentation/technical/api-directory-listing.txt >> ++

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Eric S. Raymond
Jonathan Nieder : > Speaking with my Debian packager hat on: the updated cvsps is not > available in Debian. "git cvsimport" is, and it has users that report > bugs from time to time. With this change, I would either have to take > on responsibility for maintenance of the cvsps package (not going

Re: [PATCH 1/4] test: Add target test-lint-shell-syntax

2013-01-02 Thread Jeff King
On Tue, Jan 01, 2013 at 10:40:08PM +0100, Torsten Bögershausen wrote: > Add the perl script "check-non-portable-shell.pl" to detect non-portable > shell syntax Cool. Thanks for adding more test-lint. But... > diff --git a/t/Makefile b/t/Makefile > index 88e289f..7b0c4dc 100644 > --- a/t/Makefile

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Joachim Schmitz
Jeff King wrote: On Tue, Jan 01, 2013 at 11:18:46PM -0800, Junio C Hamano wrote: Jeff King writes: [1] This symlink is doubly wrong, because any use of symbolic links in the test scripts needs to depend on the SYMLINKS prereq, and this does not. Yeah, I think we have discussed this

Re: [PATCH 0/3] Update SubmittingPatches

2013-01-02 Thread Jeff King
On Tue, Jan 01, 2013 at 03:24:52PM -0800, Junio C Hamano wrote: > The main thing this series wants to do is the second one, but I > wanted to reduce the clutter in this document while at it. > > Junio C Hamano (3): > SubmittingPatches: who am I and who cares? > SubmittingPatches: mention subs

Re: Test failures with python versions when building git 1.8.1

2013-01-02 Thread Jeff King
On Tue, Jan 01, 2013 at 11:18:46PM -0800, Junio C Hamano wrote: > Jeff King writes: > > > [1] This symlink is doubly wrong, because any use of symbolic links > > in the test scripts needs to depend on the SYMLINKS prereq, and this > > does not. > > Yeah, I think we have discussed this o

Re: [PATCH 3/4] t4014: do not uese echo -n

2013-01-02 Thread Brandon Casey
On Tue, Jan 1, 2013 at 5:16 PM, Junio C Hamano wrote: > Torsten Bögershausen writes: > >> echo -n is not portable on all systems. >> Use printf instead >> >> Signed-off-by: Torsten Bögershausen >> --- > > Brandon, this comes from 932581b (Unify appending signoff in > format-patch, commit and seq

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Jonathan Nieder
Jeff King wrote: > It seems I am late to the party. But FWIW, this looks the most sane to > me of the patches posted in this thread. Thanks. config.status runs ./configure itself, though, so the rule should actually be config.status: configure.ac $(QUIET_GEN)$(MAKE) conf

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Jonathan Nieder
Jonathan Nieder wrote: > Starting with v1.7.12-rc0~4^2 (build: reconfigure automatically if > configure.ac changes, 2012-07-19), configure is automatically run > every time the "configure" script changes. In particular, that > means configure is automatically rerun whenever the version number > c

Re: [PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Jeff King
On Wed, Jan 02, 2013 at 12:25:44AM -0800, Jonathan Nieder wrote: > Starting with v1.7.12-rc0~4^2 (build: reconfigure automatically if > configure.ac changes, 2012-07-19), configure is automatically run > every time the "configure" script changes. In particular, that > means configure is automatic

[PATCH v2] build: do not automatically reconfigure unless configure.ac changed

2013-01-02 Thread Jonathan Nieder
Starting with v1.7.12-rc0~4^2 (build: reconfigure automatically if configure.ac changes, 2012-07-19), configure is automatically run every time the "configure" script changes. In particular, that means configure is automatically rerun whenever the version number changes (which changes the configur

Re: [PATCH] Replace git-cvsimport with a rewrite that fixes major bugs.

2013-01-02 Thread Jonathan Nieder
Hi, Eric S. Raymond wrote: > Junio C Hamano : >> So..., is this a flag-day patch? >> >> After this is merged, users who have been interoperating with CVS >> repositories with the older cvsps have to install the updated cvsps >> before using a new version of Git that ships with it? > > Yes, they m

Re: [PATCH] gitk: add a checkbox to control the visibility of tags

2013-01-02 Thread Lukasz Stelmach
W dniu 02.01.2013 08:24, Junio C Hamano pisze: > Paul Mackerras writes: > >> On Sat, Dec 01, 2012 at 06:16:25PM -0800, Junio C Hamano wrote: >>> Łukasz Stelmach writes: >>> Enable hiding of tags displayed in the tree as yellow labels. If a repository is used together with a system like