[PATCH 1/3] config.txt: a few lines about branch..description

2013-01-01 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/config.txt b/Documentation/config.txt index bf8f911..ee64846 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -735,6 +735,12 @@ branch..

[PATCH 2/3] format-patch: pick up branch description when no ref is specified

2013-01-01 Thread Nguyễn Thái Ngọc Duy
find_branch_name() fails to detect "format-patch --cover-letter -3" where no command line arguments are given and HEAD is automatically added. Detect branch name in this case so we can pick up the branch's description in cover letter. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/log.c | 16 ++

[PATCH 3/3] branch: delete branch description if it's empty

2013-01-01 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- I don't see the value of having an empty branch description. But I may be missing something. builtin/branch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/branch.c b/builtin/branch.c index 1ec9c02..873f624 100644 --- a/bui

Re: [PATCH] Remove the suggestion to use parsecvs, which is currently broken.

2013-01-01 Thread Chris Packham
Minor typo On 12/29/2012 05:20 AM, Eric S. Raymond wrote: > The parsecvs code has been neglected for a long time, and the only > public version does not even build correctly. I have been handed > control of the project and intend to fix this, but until I do it > cannot be recommended. > > Also,

Re: [RFC] pack-objects: compression level for non-blobs

2013-01-01 Thread Duy Nguyen
On Tue, Jan 1, 2013 at 11:15 AM, Duy Nguyen wrote: >> Fix pack-objects to behave the way JGit does, cluster commits first in >> the pack stream. Now you have a dense space of commits. If I remember >> right this has a tiny positive improvement for most rev-list >> operations with very little downs

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

2013-01-01 Thread Johannes Sixt
Am 31.12.2012 17:24, schrieb Grégory Pakosz: > Please disregard the previous email that contains an incorrect fix > suggestion. I wish my first contribution was flawless. > > Here is what's happening. > git-filter-branch let git-update-ref -d verify that the value for $ref > matches $sha1. > Howev

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

2013-01-01 Thread Grégory Pakosz
> Thanks. A few comments. > > At the design level. Where does this $sha1 come from in the first > place? > actually, sha1=$(git rev-parse "$ref"^0) (please remember that I'm discovering git internals while figuring out how to make git filter-branch work in my use case) in my use case, $ref is "r

[PATCH] Correct example restore from bundle

2013-01-01 Thread Kirill Brilliantov
Without use branche option repository restory without files: $ git clone pr.bundle q/ Cloning into 'q'... Receiving objects: 100% (619/619), 13.52 MiB | 18.74 MiB/s, done. Resolving deltas: 100% (413/413), done. warning: remote HEAD refers to nonexistent ref, unable to checkout. $ ls -aF q/ ./ ../

[PATCH] Correct example restore from bundle

2013-01-01 Thread Kirill Brilliantov
Without use branche option repository restory without files: $ git clone pr.bundle q/ Cloning into 'q'... Receiving objects: 100% (619/619), 13.52 MiB | 18.74 MiB/s, done. Resolving deltas: 100% (413/413), done. warning: remote HEAD refers to nonexistent ref, unable to checkout. $ ls -aF q/ ./ ../

Re: What's cooking in git.git (Dec 2012, #08; Mon, 31)

2013-01-01 Thread Antoine Pelisse
> * ap/status-ignored-in-ignored-directory (2012-12-26) 1 commit > - wt-status: Show ignored files in untracked dirs > > A topic still in flux; will be redone. I've already redone this part sending two patches (one with the fix, and one with some tests for each individual use-case) that you prob

Re: [RFC] pack-objects: compression level for non-blobs

2013-01-01 Thread Shawn Pearce
On Tue, Jan 1, 2013 at 4:10 AM, Duy Nguyen wrote: > On Tue, Jan 1, 2013 at 11:15 AM, Duy Nguyen wrote: >>> Fix pack-objects to behave the way JGit does, cluster commits first in >>> the pack stream. Now you have a dense space of commits. If I remember >>> right this has a tiny positive improvemen

Bug in latest gitk - can't click lines connecting commits

2013-01-01 Thread Jason Holden
I was testing some patches against the latest gitk, and noticed that when I click the mouse on the lines that connect the commits in the history graph, I get an error popup with: Error: can't read "cflist_top": no such variable Looks like this was introduced in gitk commit b967135d89e8d8461d059

Re: Bug in latest gitk - can't click lines connecting commits

2013-01-01 Thread Stefan Haller
Jason Holden wrote: > I was testing some patches against the latest gitk, and noticed that when I > click the mouse on the lines that connect the commits in the history graph, > I get an error popup with: > Error: can't read "cflist_top": no such variable > > Looks like this was introduced in g

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

2013-01-01 Thread Junio C Hamano
Grégory Pakosz writes: > in my use case, $ref is "refs/tags/4.0" which is an annotated tag > > $ git rev-parse "refs/tags/4.0" > e941b106c17b59320f776d58b71fc2fcdb72 Yeah, but in that case it appears to me that you told the command to rewrite the tag itself and the history behind the commit

Re: What's cooking in git.git (Dec 2012, #08; Mon, 31)

2013-01-01 Thread Junio C Hamano
Antoine Pelisse writes: >> * ap/status-ignored-in-ignored-directory (2012-12-26) 1 commit >> - wt-status: Show ignored files in untracked dirs >> >> A topic still in flux; will be redone. > > I've already redone this part sending two patches (one with the fix, > and one with some tests for each

Re: [RFC] pack-objects: compression level for non-blobs

2013-01-01 Thread Junio C Hamano
Duy Nguyen writes: > On Tue, Jan 1, 2013 at 11:15 AM, Duy Nguyen wrote: >>> Fix pack-objects to behave the way JGit does, cluster commits first in >>> the pack stream. Now you have a dense space of commits. If I remember >>> right this has a tiny positive improvement for most rev-list >>> operat

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

2013-01-01 Thread Grégory Pakosz
> Yeah, but in that case it appears to me that you told the command to > rewrite the tag itself and the history behind the commit the tag > refers to, but the end result did not rewrite the tag itself and > left the tag pointing at the original history. > The problem exhibits at the point git filte

Re: [PATCH 2/3] format-patch: pick up branch description when no ref is specified

2013-01-01 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > find_branch_name() fails to detect "format-patch --cover-letter -3" > where no command line arguments are given and HEAD is automatically > added. Nicely spotted. That is not the only case that takes this codepath, though. $ git format-patch --cover-letter m

Re: [PATCH] Correct example restore from bundle

2013-01-01 Thread Junio C Hamano
Kirill Brilliantov writes: > > -machineB$ git clone /home/me/tmp/file.bundle R2 > +machineB$ git clone /home/me/tmp/file.bundle R2 -b master I think the command line should follow the convention that is suggested in "git clone -h" output, i.e. git clone -b master /home/me/

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

2013-01-01 Thread Junio C Hamano
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 > +++ b/Documentation/technical/api-directory-listing.txt > @@ -9,8

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

2013-01-01 Thread Junio C Hamano
Grégory Pakosz writes: > Are you suggesting $sha1 should be obtained differently before > entering case "$rewritten" ? > That would mean changing sha1=$(git rev-parse "$ref"^0) at line 376 to > something like $(git cat-file -t "$ref") = 'tag' && sha1=$(git > rev-parse "$ref") || sha1=$(git rev-pa

[PATCH] Documentation: full-ness of a bundle is significant for cloning

2013-01-01 Thread Junio C Hamano
Not necessarily every bundle file can be cloned from. Only the ones that do not need prerequisites can. When 1d52b02 (Documentation: minor grammatical fixes and rewording in git-bundle.txt, 2009-03-22) reworded this paragraph, it lost a critical hint to tell readers why thhis particular bundle ca

[PATCH] Avoid using non-POSIX cp options

2013-01-01 Thread Ben Walton
t/3600-rm was using the -a option to cp. This option is a GNU extention and is not portable. Instead, use just -R (no -p necessary). Signed-off-by: Ben Walton --- t/t3600-rm.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh index 06f6

Re: [PATCH 1/8] Use %B for Split Subject/Body

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > Subject: Re: [PATCH 1/8] Use %B for Split Subject/Body This needs to say "contrib/subtree" somewhere (applies to all patches in this series). > From: Techlive Zheng > > Use %B to format the commit message and body to avoid an extra newline > if a commit only has a s

Re: [PATCH 2/8] Add --unannotate

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > From: James Nylen > > Teach git-subtree about --unannotate. This option strips a prefix > from a commit message when doing a subtree split. Hrm. This looks like a workaround for a short-sighted misdesign of the annotate option that only allowed prefixing a fixed st

Re: [PATCH 3/8] Better Error Handling for add

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > From: "David A. Greene" > > Check refspecs for validity before passing them on to other commands. > This lets us generate more helpful error messages. > > Signed-off-by: David A. Greene > --- > contrib/subtree/git-subtree.sh | 12 > 1 file changed, 12

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

2013-01-01 Thread Torsten Bögershausen
Add the perl script "check-non-portable-shell.pl" to detect non-portable shell syntax Many systems use gnu tools which accept an extended syntax in shell scripts, which is not portable on all systems and causes the test suite to fail. To prevent contributors using e.g. Linux to add non-portable te

Re: [PATCH 4/8] Fix Synopsis

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > From: "David A. Greene" > > Fix the documentation of add to show that a repository can be > specified along with a commit. > > Change "commit" to "refspec" in the synopsis for add. > > Suggested by Yann Dirson . > > Signed-off-by: David A. Greene > --- > contrib/sub

[PATCH 2/4] t9810: Do not use sed -i

2013-01-01 Thread Torsten Bögershausen
sed -i is not portable on all systems. Use sed with different input and output files. Utilize a tmp file whenever needed Signed-off-by: Torsten Bögershausen --- t/t9810-git-p4-rcs.sh | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/t/t9810-git-p4-rcs

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

2013-01-01 Thread Torsten Bögershausen
echo -n is not portable on all systems. Use printf instead Signed-off-by: Torsten Bögershausen --- t/t4014-format-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index 6cfad13..f460930 100755 --- a/t/t4014-format-patc

Re: [PATCH 5/8] Honor DESTDIR

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > From: Adam Tkac > > Teach git-subtree's Makefile to honor DESTDIR. > > Author:Adam Tkac > > Signed-off-by:Adam Tkac > > Signed-off-by: David A. Greene > --- The contents of the patch looks sensible; the above is questionable as all the other messages in th

[PATCH 4/4] t9020: which is not portable

2013-01-01 Thread Torsten Bögershausen
Use type instead Signed-off-by: Torsten Bögershausen --- t/t9020-remote-svn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t9020-remote-svn.sh b/t/t9020-remote-svn.sh index 4f2dfe0..dbaecbc 100755 --- a/t/t9020-remote-svn.sh +++ b/t/t9020-remote-svn.sh @@ -32,8 +32,

[PATCH 4/4] t9020: which is not portable

2013-01-01 Thread Torsten Bögershausen
Use type instead Signed-off-by: Torsten Bögershausen --- t/t9020-remote-svn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t9020-remote-svn.sh b/t/t9020-remote-svn.sh index 4f2dfe0..dbaecbc 100755 --- a/t/t9020-remote-svn.sh +++ b/t/t9020-remote-svn.sh @@ -32,8 +32,

Re: [PATCH 6/8] Make the Manual Directory if Needed

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > From: "Jesper L. Nielsen" > > Before install git-subtree documentation, make sure the manpage > directory exists. > > Author:Jesper L. Nielsen > > Signed-off-by:Jesper L. Nielsen > > Signed-off-by: David A. Greene > --- > contrib/subtree/Makefile |1 +

Re: [PATCH 7/8] Ignore git-subtree

2013-01-01 Thread Junio C Hamano
"David A. Greene" writes: > From: Michael Schubert > > Add the git-subtree command executable to .gitignore. > > Author:Michael Schubert > > Signed-off-by:Michael Schubert > > Signed-off-by: David A. Greene > --- Seems sensible; I think I have this already in my tree. > contrib/sub

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

2013-01-01 Thread Junio C Hamano
"Eric S. Raymond" writes: > The combination of git-cvsimport and cvsps had serious problems. > Among these were: > > (1) Analysis of branchy repos was buggy in multiple ways in both > programs, leading to incorrect repo translations. > > (2) Even after a correct branch analysis, extra (redund

Re: [PATCH] Avoid using non-POSIX cp options

2013-01-01 Thread Junio C Hamano
Thanks; I think I already have 2d3ac9a (t3600: Avoid "cp -a", which is a GNUism, 2012-12-18) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

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

2013-01-01 Thread Junio C Hamano
Torsten Bögershausen writes: > Add the perl script "check-non-portable-shell.pl" to detect non-portable > shell syntax > Many systems use gnu tools which accept an extended syntax in shell scripts, > which is not portable on all systems and causes the test suite to fail. > > To prevent contributo

Re: [PATCH] Documentation: full-ness of a bundle is significant for cloning

2013-01-01 Thread W. Trevor King
On Tue, Jan 01, 2013 at 01:07:05PM -0800, Junio C Hamano wrote: > critical hint to tell readers why thhis particular bundle can be s/thhis/this/ signature.asc Description: OpenPGP digital signature

Re: [PATCH 2/4] t9810: Do not use sed -i

2013-01-01 Thread Junio C Hamano
Torsten Bögershausen writes: > sed -i is not portable on all systems. > Use sed with different input and output files. > Utilize a tmp file whenever needed > > Signed-off-by: Torsten Bögershausen > --- > t/t9810-git-p4-rcs.sh | 24 ++-- > 1 file changed, 14 insertions(+), 10

Re: [BUG] two-way read-tree can write null sha1s into index

2013-01-01 Thread Junio C Hamano
Jeff King writes: > So I think we need to update twoway_merge to recognize unmerged entries, > which gives us two options: > > 1. Reject the merge. > > 2. Throw away the current unmerged entry in favor of the "new" entry > (when old and new are the same, of course; otherwise we would >

Re: [PATCH 1/8] Use %B for Split Subject/Body

2013-01-01 Thread greened
Junio C Hamano writes: > "David A. Greene" writes: > >> From: Techlive Zheng >> >> Use %B to format the commit message and body to avoid an extra newline >> if a commit only has a subject line. > > Is this an unconditional improvement, or is it generally an > improvement but for some users it m

Re: [PATCH 1/8] Use %B for Split Subject/Body

2013-01-01 Thread greened
Junio C Hamano writes: > Also, please be careful about the subject line. I doubt that these > 8 patches will stand out as relating to "contrib/subtree", when mixed > in 200 line output of "git shortlog --no-merges". Ah, ok. I'll be more careful next time. -David -- T

Re: [PATCH 1/8] Use %B for Split Subject/Body

2013-01-01 Thread greened
Junio C Hamano writes: > "David A. Greene" writes: > >> Subject: Re: [PATCH 1/8] Use %B for Split Subject/Body > > This needs to say "contrib/subtree" somewhere (applies to all > patches in this series). Ok. Shall I re-send everything? >> From: Techlive Zheng >> >> Use %B to format the commi

Re: [PATCH 2/8] Add --unannotate

2013-01-01 Thread greened
Junio C Hamano writes: > "David A. Greene" writes: > >> From: James Nylen >> >> Teach git-subtree about --unannotate. This option strips a prefix >> from a commit message when doing a subtree split. > > Hrm. This looks like a workaround for a short-sighted misdesign of > the annotate option t

Re: [PATCH 3/8] Better Error Handling for add

2013-01-01 Thread greened
Junio C Hamano writes: >> diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh >> index 7ceb413..b8a807a 100755 >> --- a/contrib/subtree/git-subtree.sh >> +++ b/contrib/subtree/git-subtree.sh >> @@ -509,8 +509,20 @@ cmd_add() >> ensure_clean >> >> if [ $# -

Re: [PATCH 4/8] Fix Synopsis

2013-01-01 Thread greened
Junio C Hamano writes: >> -git subtree add --prefix= >> +git subtree add --prefix= > > Again, this is not but . Ok, I need to study the terminology. :) >> +git subtree add --prefix= > > This is given to "fetch" and it seems to acccept any , so > it is probably a good change (I didn'

Re: [PATCH 5/8] Honor DESTDIR

2013-01-01 Thread greened
Junio C Hamano writes: > "David A. Greene" writes: > >> From: Adam Tkac >> >> Teach git-subtree's Makefile to honor DESTDIR. >> >> Author:Adam Tkac >> >> Signed-off-by:Adam Tkac >> >> Signed-off-by: David A. Greene >> --- > > The contents of the patch looks sensible; the above is que

Re: [PATCH 6/8] Make the Manual Directory if Needed

2013-01-01 Thread greened
Junio C Hamano writes: >> diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile >> index 36ae3e4..52d6fb9 100644 >> --- a/contrib/subtree/Makefile >> +++ b/contrib/subtree/Makefile >> @@ -35,6 +35,7 @@ install: $(GIT_SUBTREE) >> install-doc: install-man >> >> install-man: $(GIT_SUB

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

2013-01-01 Thread Torsten Bögershausen
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 --- Changes since v1: Use "sed outfile" Added missing && at 2 places (thanks for catching) t/t9810-git-p4-rcs

[PATCH 0/3] Update SubmittingPatches

2013-01-01 Thread Junio C Hamano
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 subsystems with dedicated repositories SubmittingPatches: remove overlong check

[PATCH 1/3] SubmittingPatches: who am I and who cares?

2013-01-01 Thread Junio C Hamano
The introductory text in the "long version" talks about the origin of this document with "I started ...", but it is unclear who that I is, and more importantly, it is not interesting how it was started. Just state the purpose of the document to help readers decide if it is releavant to them. Sign

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

2013-01-01 Thread Junio C Hamano
These were only mentioned in periodical "A note from the maintainer" posting and not in the documentation suite. SubmittingPatches has a section to help contributors decide on what commit to base their changes, which is the most suitable place for this information. Signed-off-by: Junio C Hamano

[PATCH 3/3] SubmittingPatches: remove overlong checklist

2013-01-01 Thread Junio C Hamano
The section is no longer a concise checklist. It also talks about things that are not covered in the "Long version" text, which means people need to read both, covering more or less the same thing in different phrasing. Fold the details into the main text and remove the section. Signed-off-by: J

Re: [RFC] pack-objects: compression level for non-blobs

2013-01-01 Thread Junio C Hamano
Shawn Pearce writes: > How blobs are written is very different, Junio's > implementation is strictly better than JGit's[1]. I do not think there can be a single ordering that is strictly better than any other one. The "clump all objects in a delta family and write them width-first, starting fro

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

2013-01-01 Thread Torsten Bögershausen
On 01.01.13 23:07, Junio C Hamano wrote: [snip] > What it checks looks like a good start, but the indentation of it > (and the log message) seems very screwed up. OK > I also have to wonder what's the false positive rate of this. When > you are preparing a new test, you would ideally want a mode t

Re: [PATCH 1/8] Use %B for Split Subject/Body

2013-01-01 Thread Junio C Hamano
gree...@obbligato.org writes: > Ack, of course. I don't know how I missed that. > >>> # 15 >>> test_expect_success 'add main6' ' >>> create main6 && >> >> Why? > > It was in the original testsuite from Avery. I didn't add or remove any > tests when I first integrated git-subtree. The

Re: [PATCH 2/8] Add --unannotate

2013-01-01 Thread Junio C Hamano
gree...@obbligato.org writes: > In the meantime, will you apply the patch or do you prefer a new design? The --unannotate option will become a baggage you will have to keep working until the end of time, if we applied it. I think it is not too uch a baggage, so it probably is OK. -- To unsubsc

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

2013-01-01 Thread Eric S. Raymond
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 must install an updated cvsps. But this

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

2013-01-01 Thread Junio C Hamano
"Eric S. Raymond" writes: > 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

Makefile dependency from 'configure' to 'GIT-VERSION-FILE'

2013-01-01 Thread Martin von Zweigbergk
Hi, I use autoconf with git.git. I have noticed lately, especially when doing things like "git rebase -i --exec make", that ./configure is run every time. If I understand correctly, this is because of 8242ff4 (build: reconfigure automatically if configure.ac changes, 2012-07-19). Just a few days b

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

2013-01-01 Thread Junio C Hamano
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 sequencer, 2012-11-25). Please make sure to squash it in when you rero

Re: [PATCH 2/3] format-patch: pick up branch description when no ref is specified

2013-01-01 Thread Duy Nguyen
On Wed, Jan 2, 2013 at 3:38 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> find_branch_name() fails to detect "format-patch --cover-letter -3" >> where no command line arguments are given and HEAD is automatically >> added. > > Nicely spotted. > > That is not the only case that ta

Re: Bug in latest gitk - can't click lines connecting commits

2013-01-01 Thread Paul Mackerras
On Tue, Jan 01, 2013 at 06:54:23PM +0100, Stefan Haller wrote: > Jason Holden wrote: > > > I was testing some patches against the latest gitk, and noticed that when I > > click the mouse on the lines that connect the commits in the history graph, > > I get an error popup with: > > Error: can't r

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

2013-01-01 Thread Zoltan Klinger
(1) Only print out the names of the files and directories that got actually deleted. (2) Show warning message for ignored untracked git repositories Consider the following repo layout: test.git/ |-- tracked_dir/ | |-- some_tracked_file | |-- some_untracked_file |-- t

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

2013-01-01 Thread Jason Holden
On Tue, Jan 01, 2013 at 03:24:54PM -0800, Junio C Hamano wrote: > > > +Subsystems with dedicated maintainers > + > +Some parts of the system have dedicated maintainers with their own > +repositories. > + > + - git-gui/ comes from git-gui project,

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

2013-01-01 Thread Junio C Hamano
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. > My only other suggestion for this series might be to augment the file with > a patch submittal example(s). I

Re: [PATCH 3/8] Better Error Handling for add

2013-01-01 Thread Junio C Hamano
gree...@obbligato.org writes: >> If you want to make sure you give a comit to add_commit, you can >> probably say something like this: >> >> git rev-parse -q --verify "$1^{commit}" >/dev/null || >> die "'$1' does not refer to a commit" > > What does $1^{commit} mean? "$thing^{type}"

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

2013-01-01 Thread Junio C Hamano
Torsten Bögershausen writes: > The suggestion is to run it every time the test suite is run, at the begining. > And it seems to be fast enough: > > $ time ./check-non-portable-shell.pl ../../git.master/t/t[0-9]*.sh > real0m0.263s > user0m0.239s > sys 0m0.021s Hmph. OK. -- To unsubsc

Re: [RFC] pack-objects: compression level for non-blobs

2013-01-01 Thread Duy Nguyen
On Wed, Jan 2, 2013 at 12:17 AM, Shawn Pearce wrote: >> And I was wrong. At least since 1b4bb16 (pack-objects: optimize >> "recency order" - 2011-06-30) commits are spread out and can be mixed >> with trees too. Grouping them back defeats what Junio did in that >> commit, I think. > > I think you

Test failures with python versions when building git 1.8.1

2013-01-01 Thread Dan McGee
A test case snuck in this release that assumes /usr/bin/python is python2 and causes test failures. Unlike all other tests and code depending on python, this one does not respect PYTHON_PATH, which we explicitly set when building git on Arch Linux due to python2 vs python3 differences. -Dan make[

Re: Test failures with python versions when building git 1.8.1

2013-01-01 Thread Junio C Hamano
Dan McGee writes: > A test case snuck in this release that assumes /usr/bin/python is > python2 and causes test failures. Unlike all other tests and code > depending on python, this one does not respect PYTHON_PATH, which we > explicitly set when building git on Arch Linux due to python2 vs > pyt

Re: Test failures with python versions when building git 1.8.1

2013-01-01 Thread Eric S. Raymond
Junio C Hamano : > Dan McGee writes: > > > A test case snuck in this release that assumes /usr/bin/python is > > python2 and causes test failures. Unlike all other tests and code > > depending on python, this one does not respect PYTHON_PATH, which we > > explicitly set when building git on Arch

Re: Test failures with python versions when building git 1.8.1

2013-01-01 Thread Jeff King
On Tue, Jan 01, 2013 at 09:19:13PM -0800, Junio C Hamano wrote: > Dan McGee writes: > > > A test case snuck in this release that assumes /usr/bin/python is > > python2 and causes test failures. Unlike all other tests and code > > depending on python, this one does not respect PYTHON_PATH, which

Re: [PATCH] gitk tag delete/rename support

2013-01-01 Thread Paul Mackerras
On Sun, Nov 25, 2012 at 08:05:45PM +0100, Leon KUKOVEC wrote: > Right clicking on a tag pops up a menu, which allows > tag to be renamed or deleted. Nice idea, but I am concerned that renaming a tag that refers to a tag object will turn it into a lightweight tag, which would be surprising for use

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

2013-01-01 Thread Paul Mackerras
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 Gerrit > > there may be quite a lot of tags used to control building > > and there

Re: Test failures with python versions when building git 1.8.1

2013-01-01 Thread Junio C Hamano
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 once already in http://thread.gmane.org/gmane.comp.version-control.git/210688/f

Re: Makefile dependency from 'configure' to 'GIT-VERSION-FILE'

2013-01-01 Thread Jonathan Nieder
Hi Martin, Martin von Zweigbergk wrote: > I use autoconf with git.git. I have noticed lately, especially when > doing things like "git rebase -i --exec make", that ./configure is run > every time. If I understand correctly, this is because of 8242ff4 > (build: reconfigure automatically if configu

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

2013-01-01 Thread Junio C Hamano
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 Gerrit >> > there may be quite a lot of tags used to

Re: Makefile dependency from 'configure' to 'GIT-VERSION-FILE'

2013-01-01 Thread Martin von Zweigbergk
On Tue, Jan 1, 2013 at 11:21 PM, Jonathan Nieder wrote: > > How about this patch (untested)? Looks good. Thanks! >> --- a/Makefile >> +++ b/Makefile >> @@ -2267,12 +2267,9 @@ $(patsubst %.py,%,$(SCRIPT_PYTHON)): % : >> unimplemented.sh >> mv $@+ $@ >> endif # NO_PYTHON >> >> -configure

What's cooking in git.git (Jan 2013, #01; Tue, 1)

2013-01-01 Thread Junio C Hamano
Here are the topics that have been cooking. Commits prefixed with '-' are only in 'pu' (proposed updates) while commits prefixed with '+' are in 'next'. The tip of the 'master' branch is at 1.8.1; the tip of 'next' will be rewound soonish to reorder topics that are already well cooked during the