Re: [PATCH V3 1/2] doc: command line interface (cli) dot-repository dwimmery

2013-10-15 Thread Philip Oakley
From: "Junio C Hamano" Philip Oakley writes: The Git cli will accept dot '.' (period) as the relative path, and thus the current repository. Explain this action. Signed-off-by: Philip Oakley --- This updates 431260cc8dd It appears that the original has already been merged to 'next', so w

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Krzysztof Mazur
On Tue, Oct 15, 2013 at 11:03:26PM -0500, Felipe Contreras wrote: > > not some "next" behavior that may change in future. > > But I'm suggesting to add a core.addremove option as well, like you suggested, > am I not? Yes, I think we both agreed on adding core.addremove. I'm just not convinced if

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Felipe Contreras
Krzysztof Mazur wrote: > On Tue, Oct 15, 2013 at 01:51:41PM -0500, Felipe Contreras wrote: > > > > I don't see what is the problem. We haven't had the need for push.default = > > simplewarning, have we? If you want the warning, you don't change anything, > > if > > simplewarning makes no sense,

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Felipe Contreras
John Szakmeister wrote: > On Tue, Oct 15, 2013 at 10:51 AM, Krzysztof Mazur > wrote: > > On Tue, Oct 15, 2013 at 08:29:56AM -0500, Felipe Contreras wrote: > >> Krzysztof Mazur wrote: > >> > On Tue, Oct 15, 2013 at 07:32:39AM -0500, Felipe Contreras wrote: > >> > > Krzysztof Mazur wrote: > >> > >

Re: [PATCH v3] build: add default aliases

2013-10-15 Thread Felipe Contreras
Junio C Hamano wrote: > Jeff King writes: > > > It seems[1] that some > > people define "ci" as "commit -a", and some people define "st" as > > "status -s" or even "status -sb". > > These option variants aside. > > Just like thinking that committing must be the same as publishing, > it is a cvs

Re: [PATCH] symbolic-ref: trivial style fix

2013-10-15 Thread Felipe Contreras
Junio C Hamano wrote: > Felipe Contreras writes: > > > Signed-off-by: Felipe Contreras > > --- > > Let's do something like this instead. > > - We usually refrain from making such a tree-wide change in order >to avoid unnecessary conflicts with other "real work" patches, >but the end r

[PATCH] Documentation/config.txt: denyDeleteCurrent applies to bare repos too

2013-10-15 Thread Brandon Casey
From: Brandon Casey The setting of denyDeleteCurrent applies to both bare and non-bare repositories. Correct the description on this point, and expand it to provide some background justification for the current behavior and describe the full suite of settings. Signed-off-by: Brandon Casey ---

[PATCH] t3600: fix broken "choking git rm" test

2013-10-15 Thread SZEDER Gábor
The test 'choking "git rm" should not let it die with cruft' is supposed to check 'git rm's behavior when interrupted by provoking a SIGPIPE while 'git rm' is busily deleting files from a specially crafted index. This test is silently broken for the following reasons: - The test crafts a special

Re: [PATCH] t3600: fix broken "choking git rm" test

2013-10-15 Thread SZEDER Gábor
On Tue, Oct 15, 2013 at 05:18:04PM -0700, Jonathan Nieder wrote: > SZEDER Gábor wrote: > > --- a/t/t3600-rm.sh > > +++ b/t/t3600-rm.sh > > @@ -240,18 +240,15 @@ test_expect_success 'refresh index before checking if > > it is up-to-date' ' > > > > test_expect_success 'choking "git rm" should not

Re: [PATCH] t3600: fix broken "choking git rm" test

2013-10-15 Thread Jonathan Nieder
SZEDER Gábor wrote: > The test 'choking "git rm" should not let it die with cruft' is > supposed to check 'git rm's behavior when interrupted by provoking a > SIGPIPE while 'git rm' is busily deleting files from a specially > crafted index. > > This test is silently broken for the following reason

[PATCH] t3600: fix broken "choking git rm" test

2013-10-15 Thread SZEDER Gábor
The test 'choking "git rm" should not let it die with cruft' is supposed to check 'git rm's behavior when interrupted by provoking a SIGPIPE while 'git rm' is busily deleting files from a specially crafted index. This test is silently broken for the following reasons: - The test crafts a special

Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Jonathan Nieder
Junio C Hamano wrote: > You just made these two that the user clearly meant to express two > different things indistinguishable. > > opt.sh -S > opt.sh -S '' [...] > And that is exactly why gitcli.txt tells users to use the 'sticked' > form, and ends the bullet point with: > >An op

Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Nicolas Vigier
On Tue, 15 Oct 2013, Jonathan Nieder wrote: > Nicolas Vigier wrote: > > > $ cat /tmp/opt.sh > > #!/bin/sh > > OPTIONS_SPEC="\ > > git [options] > > -- > > q,quiet be quiet > > S,gpg-sign? GPG-sign commit" > > echo "$OPTIONS_SPEC" | git rev-parse --parseopt $parseopt_ex

Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Nicolas Vigier
On Tue, 15 Oct 2013, Junio C Hamano wrote: > Nicolas Vigier writes: > > > git rev-parse --parseopt does not allow us to see the difference > > between an option with an optional argument starting with a dash, and an > > option with an unset optional argument followed by an other option. > > > >

Re: [PATCH] symbolic-ref: trivial style fix

2013-10-15 Thread Junio C Hamano
Jonathan Nieder writes: >> - && dfa->nodes[node].type == CHARACTER >> + && dfa->nodes[node].type == CHARACTER > > It took a little staring to see what changed here. The preimage has > a tab, probably from an autoformatter gone wild. I don't think fixing > it shou

Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Junio C Hamano
Jonathan Nieder writes: > Nicolas Vigier wrote: > >> $ cat /tmp/opt.sh >> #!/bin/sh >> OPTIONS_SPEC="\ >> git [options] >> -- >> q,quiet be quiet >> S,gpg-sign? GPG-sign commit" >> echo "$OPTIONS_SPEC" | git rev-parse --parseopt $parseopt_extra -- "$@" >> >> Then the f

Re: [PATCH] symbolic-ref: trivial style fix

2013-10-15 Thread Jonathan Nieder
Junio C Hamano wrote: > From: Felipe Contreras > Subject: C: have space around && and || operators [...] > builtin/read-tree.c| 2 +- > builtin/rev-list.c | 2 +- > builtin/symbolic-ref.c | 2 +- > compat/regex/regcomp.c | 2 +- > xdiff/xemit.c | 2 +- > 5 files changed, 5 inser

Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Jonathan Nieder
Nicolas Vigier wrote: > $ cat /tmp/opt.sh > #!/bin/sh > OPTIONS_SPEC="\ > git [options] > -- > q,quiet be quiet > S,gpg-sign? GPG-sign commit" > echo "$OPTIONS_SPEC" | git rev-parse --parseopt $parseopt_extra -- "$@" > > Then the following two commands give us the same

Re: [PATCH] http.c: Spell the null pointer as NULL

2013-10-15 Thread Junio C Hamano
Ramsay Jones writes: > Also, I note that ma...@kernel.org != ma...@repo.or.cz/jrn Thanks. -- 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 v5] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Keshav Kini
Junio C Hamano writes: > Yoshioka Tsuneo writes: > >> "git diff -M --stat" can detect rename and show renamed file name like >> "foofoofoo => barbarbar". But if destination filename is long, the line >> is shortened like "...barbarbar" so there is no way to know whether the >> file is renamed or

Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Junio C Hamano
Nicolas Vigier writes: > git rev-parse --parseopt does not allow us to see the difference > between an option with an optional argument starting with a dash, and an > option with an unset optional argument followed by an other option. > > If I use this script : > > $ cat /tmp/opt.sh > #!/bin/

Re: [PATCH v2 00/16] Make Gnome Credential helper more Gnome-y and support ancient distros

2013-10-15 Thread Brandon Casey
On 10/15/2013 3:40 PM, Junio C Hamano wrote: > This seems to post-date what Jonathan has kept in his 'pu'; is this > the latest (I have a huge backlog to wade through, so I'd rather > skip it if another reroll is coming and move on to other topics). > > Thanks. This is the latest. I didn't have

Re: [PATCH v5] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Junio C Hamano
Yoshioka Tsuneo writes: > "git diff -M --stat" can detect rename and show renamed file name like > "foofoofoo => barbarbar". But if destination filename is long, the line > is shortened like "...barbarbar" so there is no way to know whether the > file is renamed or existed in the source commit.

Re: [PATCH] git.txt: Fix asciidoc syntax of --*-pathspecs

2013-10-15 Thread Junio C Hamano
Steffen Prohaska writes: > Labeled lists require a double colon. > > Signed-off-by: Steffen Prohaska > --- Looks sensible; it would have been nicer if the log message said something like I eyeballed the output from git grep '[^:]:$' Documentation/\*.txt and these are the only

Re: [BUG?] inconsistent `git reflog show` output, possibly `git fsck` output

2013-10-15 Thread Keshav Kini
Junio C Hamano writes: > Roberto Tyley writes: > >> On 21/09/2013 23:16, Keshav Kini wrote: >>> [SNIP] >>> This situation came about because the BFG Repo-Cleaner doesn't write new >>> reflog entries after creating its new objects and moving refs around. >> >> True enough - I don't think the BFG

Re: [PATCH v2 00/16] Make Gnome Credential helper more Gnome-y and support ancient distros

2013-10-15 Thread Junio C Hamano
This seems to post-date what Jonathan has kept in his 'pu'; is this the latest (I have a huge backlog to wade through, so I'd rather skip it if another reroll is coming and move on to other topics). Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message

Re: [BUG?] inconsistent `git reflog show` output, possibly `git fsck` output

2013-10-15 Thread Junio C Hamano
Roberto Tyley writes: > On 21/09/2013 23:16, Keshav Kini wrote: >> [SNIP] >> This situation came about because the BFG Repo-Cleaner doesn't write new >> reflog entries after creating its new objects and moving refs around. > > True enough - I don't think the BFG does write new entires to the > re

Re: [PATCH v3] build: add default aliases

2013-10-15 Thread Junio C Hamano
Jeff King writes: > It seems[1] that some > people define "ci" as "commit -a", and some people define "st" as > "status -s" or even "status -sb". These option variants aside. Just like thinking that committing must be the same as publishing, it is a cvs/svn induced braindamage to think that "ch

Re: [PATCH] symbolic-ref: trivial style fix

2013-10-15 Thread Junio C Hamano
Felipe Contreras writes: > Signed-off-by: Felipe Contreras > --- Let's do something like this instead. - We usually refrain from making such a tree-wide change in order to avoid unnecessary conflicts with other "real work" patches, but the end result does not have a potentially cumberso

Re: [PATCH] http.c: Spell the null pointer as NULL

2013-10-15 Thread Jeff King
On Tue, Oct 15, 2013 at 10:55:02PM +0100, Ramsay Jones wrote: > Commit 1bbcc224 ("http: refactor options to http_get_*", 28-09-2013) > changed the type of final 'options' argument of the http_get_file() > function from an int to an 'struct http_get_options' pointer. > However, it neglected to upda

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Krzysztof Mazur
On Tue, Oct 15, 2013 at 01:51:41PM -0500, Felipe Contreras wrote: > > I don't see what is the problem. We haven't had the need for push.default = > simplewarning, have we? If you want the warning, you don't change anything, if simplewarning makes no sense, because push.default=simple sets exact b

Re: [PATCH V3 1/2] doc: command line interface (cli) dot-repository dwimmery

2013-10-15 Thread Junio C Hamano
Philip Oakley writes: > The Git cli will accept dot '.' (period) as the relative path, > and thus the current repository. Explain this action. > > Signed-off-by: Philip Oakley > --- > > This updates 431260cc8dd It appears that the original has already been merged to 'next', so we need to make t

[PATCH] http.c: Spell the null pointer as NULL

2013-10-15 Thread Ramsay Jones
Commit 1bbcc224 ("http: refactor options to http_get_*", 28-09-2013) changed the type of final 'options' argument of the http_get_file() function from an int to an 'struct http_get_options' pointer. However, it neglected to update the (single) call site. Since this call was passing '0' to that arg

Re: [PATCH 2/2] remote: fix trivial memory leak

2013-10-15 Thread Junio C Hamano
Jeff King writes: > I wondered if we might also leak when seeing duplicate config options > (i.e., leaking the old one when replacing it with the new). But we don't > actually strdup() the configured remote names, but instead just point > into the "struct branch", which owns the data. In additio

Re: [PATCH 00/17] np/pack-v4 updates

2013-10-15 Thread Junio C Hamano
Nicolas Pitre writes: > On Sat, 21 Sep 2013, Nguyễn Thái Ngọc Duy wrote: > >> This contains many bug fixes or cleanups. Also you can now run the >> test suite with v4 by setting GIT_TEST_OPTS=--packv4. The test suite >> passes now. pack size limit is not officially not supported with v4. >> index

Re: What's cooking in git.git (Oct 2013, #02; Mon, 14)

2013-10-15 Thread Jonathan Nieder
Jens Lehmann wrote: > Am 15.10.2013 21:16, schrieb Jonathan Nieder: >> So I suspect this will fix more scripts than it breaks, though it may >> still break some. :/ > > Hmm, I'm really not sure if we should do this or not. What convinced me was Anders's observation that the current behavior can h

Re: What's cooking in git.git (Oct 2013, #02; Mon, 14)

2013-10-15 Thread Jens Lehmann
Am 15.10.2013 21:16, schrieb Jonathan Nieder: > So I suspect this will fix more scripts than it breaks, though it may > still break some. :/ Hmm, I'm really not sure if we should do this or not. > It might make sense to warn when passed multiple arguments and some > include shell metacharacters,

Re: What's cooking in git.git (Oct 2013, #02; Mon, 14)

2013-10-15 Thread Jens Lehmann
Am 15.10.2013 02:12, schrieb Jonathan Nieder: > * jl/submodule-mv (2013-10-13) 1 commit > - mv: Fix spurious warning when moving a file in presence of submodules > > Moving a regular file in a repository with a .gitmodules file was > producing a warning 'Could not find section in .gitmodules wh

Re: What's cooking in git.git (Oct 2013, #02; Mon, 14)

2013-10-15 Thread Jonathan Nieder
Junio C Hamano wrote: > I'll try: > > - slurping your integration branches, > - teasing the topics apart out of your 'pu', > - populating my rerere database to match your confict resolution, > - reconstructing the Meta/Reintegrate insn for 'pu', and > - rebuilding 'pu' to make sure the end re

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Felipe Contreras
Krzysztof Mazur wrote: > On Tue, Oct 15, 2013 at 08:29:56AM -0500, Felipe Contreras wrote: > > Krzysztof Mazur wrote: > > > On Tue, Oct 15, 2013 at 07:32:39AM -0500, Felipe Contreras wrote: > > > > Krzysztof Mazur wrote: > > > > > > > > > > But with core.mode = next after upgrade you may experienc

Re: [PATCH] split_ident: parse timestamp from end of line

2013-10-15 Thread Junio C Hamano
Jeff King writes: > My version seems a little clearer to me, but that is probably because I > wrote it. If you strongly prefer the other, feel free to mark up my > patch. I do not have strong preference either way. Just that I thought two loops would be shorter and easier to understand than thre

Re: What's cooking in git.git (Oct 2013, #02; Mon, 14)

2013-10-15 Thread Junio C Hamano
Jonathan Nieder writes: > What's cooking in git.git (Oct 2013, #02; Mon, 14) > Tying up loose ends before the hand-off. I'll try: - slurping your integration branches, - teasing the topics apart out of your 'pu', - populating my rerere database to match your confict resolution, - reconstruc

Re: [PATCH] split_ident: parse timestamp from end of line

2013-10-15 Thread Jeff King
On Tue, Oct 15, 2013 at 10:52:55AM -0700, Junio C Hamano wrote: > Jeff King writes: > > >> Yeah, unrolling the loop is probably better. You may even be able > >> to do so in a single pass with an extra "last > seen" pointer > >> variable without too much additional code complexity, I would thin

Re: [PATCH] split_ident: parse timestamp from end of line

2013-10-15 Thread Junio C Hamano
Jeff King writes: >> Yeah, unrolling the loop is probably better. You may even be able >> to do so in a single pass with an extra "last > seen" pointer >> variable without too much additional code complexity, I would think. > > I'm not sure what you mean here. > If you mean doing a single pass

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread John Szakmeister
On Tue, Oct 15, 2013 at 10:51 AM, Krzysztof Mazur wrote: > On Tue, Oct 15, 2013 at 08:29:56AM -0500, Felipe Contreras wrote: >> Krzysztof Mazur wrote: >> > On Tue, Oct 15, 2013 at 07:32:39AM -0500, Felipe Contreras wrote: >> > > Krzysztof Mazur wrote: >> > > > >> > > > But with core.mode = next af

Re: [PATCH 1/2] Add password parameter to git svn commands and use it when provided instead of defaulting to end-user prompt

2013-10-15 Thread arnaud brejeon
Le 15 oct. 2013 à 01:35, Eric Wong a écrit : > Jeff King wrote: >> On Mon, Oct 14, 2013 at 06:40:05PM +, Eric Wong wrote: >> arnaud.brej...@gmail.com wrote: > Signed-off-by: Arnaud Brejeon gmail.com> Thanks. Can you say a little more about the context?

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Krzysztof Mazur
On Tue, Oct 15, 2013 at 08:29:56AM -0500, Felipe Contreras wrote: > Krzysztof Mazur wrote: > > On Tue, Oct 15, 2013 at 07:32:39AM -0500, Felipe Contreras wrote: > > > Krzysztof Mazur wrote: > > > > > > > > But with core.mode = next after upgrade you may experience incompatible > > > > change witho

Re: [PATCH 0/6] miscellaneous patches

2013-10-15 Thread Ramsay Jones
On 15/10/13 00:25, Jonathan Nieder wrote: > Ramsay Jones wrote: > >> These patches don't have too much in common, hence the subject >> line, except perhaps that 4 of them fix sparse warnings. > > Thanks. These look good. > > I tweaked the descriptions a bit to focus on what sparse was warning >

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Felipe Contreras
Krzysztof Mazur wrote: > On Tue, Oct 15, 2013 at 07:32:39AM -0500, Felipe Contreras wrote: > > Krzysztof Mazur wrote: > > > > > > But with core.mode = next after upgrade you may experience incompatible > > > change without any warning. > > > > Yes, and that is actually what the user wants. I mean

on broken command chains in tests (was: Re: [PATCH] status: show commit sha1 in "You are currently)

2013-10-15 Thread SZEDER Gábor
Hi, On Fri, Oct 11, 2013 at 10:42:10AM -0700, Jonathan Nieder wrote: > -- >8 -- > Subject: status test: add missing && to < > When a test forgets to include && after each command, it is possible > for an early command to succeed but the test to fail, which can hide > bugs. Surely you meant "succ

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Krzysztof Mazur
On Tue, Oct 15, 2013 at 07:32:39AM -0500, Felipe Contreras wrote: > Krzysztof Mazur wrote: > > > > But with core.mode = next after upgrade you may experience incompatible > > change without any warning. > > Yes, and that is actually what the user wants. I mean, why would the user set > core.mode=

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Felipe Contreras
Krzysztof Mazur wrote: > On Mon, Oct 14, 2013 at 04:35:50PM -0500, Felipe Contreras wrote: > > Krzysztof Mazur wrote: > > > On Sat, Oct 12, 2013 at 02:04:45AM -0500, Felipe Contreras wrote: > > > > So that we can specify general modes of operation, specifically, add the > > > > 'next' mode, which m

Re: [PATCH v3] Add core.mode configuration

2013-10-15 Thread Krzysztof Mazur
On Mon, Oct 14, 2013 at 04:35:50PM -0500, Felipe Contreras wrote: > Krzysztof Mazur wrote: > > On Sat, Oct 12, 2013 at 02:04:45AM -0500, Felipe Contreras wrote: > > > So that we can specify general modes of operation, specifically, add the > > > 'next' mode, which makes Git pre v2.0 behave as Git v

Re: [PATCH] git-prompt.sh: show the upstream abbrev name

2013-10-15 Thread SZEDER Gábor
On Thu, Oct 10, 2013 at 04:43:22PM +0200, Julien Carsique wrote: > It's fixed. Thanks, the updated patch looks good to me. > Note '+=' was already used line 114: > > svn_url_pattern+="\\|$value" I guess noone has tried to use the upstream status indicator with an SVN upstream and an

[PATCH] rev-parse --parseopt: fix handling of optional arguments

2013-10-15 Thread Nicolas Vigier
git rev-parse --parseopt does not allow us to see the difference between an option with an optional argument starting with a dash, and an option with an unset optional argument followed by an other option. If I use this script : $ cat /tmp/opt.sh #!/bin/sh OPTIONS_SPEC="\ git [options]

Re: [PATCH] rev-parse doc: clarify use of optional / required arguments

2013-10-15 Thread Nicolas Vigier
On Mon, 14 Oct 2013, brian m. carlson wrote: > On Mon, Oct 14, 2013 at 05:25:29PM +0200, Nicolas Vigier wrote: > > The reason that I looked at this documentation in the first place was > > that I was looking at adding an option '-S[], --gpg-sign[=]' > > to git-rebase, similar to the option in git-

Re

2013-10-15 Thread Dr.Dar Ror
Greetings, How are you and the family? My contacting you again is based on neglecting my previous email of investment establishment in your country. Be aware that I am in a desire of any investments establishment that will guaranty a safe and secured profitable returns in terms of energy renewal

Re: [PATCH v4] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Yoshioka Tsuneo
Hello Felipe Thank you for pointing out the style issue again. I just fixed it and posted as [PATCH v5]. Thanks! --- Tsuneo Yoshioka (吉岡 恒夫) yoshiokatsu...@gmail.com On Oct 15, 2013, at 1:07 PM, Felipe Contreras wrote: > On Tue, Oct 15, 2013 at 4:45 AM, Yoshioka Tsuneo > wrote: >> >> "g

[PATCH v5] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Yoshioka Tsuneo
"git diff -M --stat" can detect rename and show renamed file name like "foofoofoo => barbarbar". But if destination filename is long, the line is shortened like "...barbarbar" so there is no way to know whether the file is renamed or existed in the source commit. Make sure there is always an arrow

Re: [PATCH v4] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Felipe Contreras
On Tue, Oct 15, 2013 at 4:45 AM, Yoshioka Tsuneo wrote: > > "git diff -M --stat" can detect rename and show renamed file name like > "foofoofoo => barbarbar". But if destination filename is long, the line > is shortened like "...barbarbar" so there is no way to know whether the > file is renamed o

Re: [PATCH v3] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Yoshioka Tsuneo
Hello Thomas Thank you very much for your kind review. Now, I just posted "PATCH v4" that will include your suggestion like keeping "{", "}" while omitting, improving commit message and comment, and test. Thanks! --- Tsuneo Yoshioka (吉岡 恒夫) yoshiokatsu...@gmail.com On Oct 13, 2013, at 11:2

Re: [PATCH v3] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Yoshioka Tsuneo
Hello Duy Thank you very much your suggestion. As you suggested, I tried to reuse intermediate result of pprint_rename(), instead of parsing the output again. I just posted the new patch as "PATCH v4" Thanks ! --- Tsuneo Yoshioka (吉岡 恒夫) yoshiokatsu...@gmail.com On Oct 14, 2013, at 10:04 PM

[PATCH v4] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.

2013-10-15 Thread Yoshioka Tsuneo
"git diff -M --stat" can detect rename and show renamed file name like "foofoofoo => barbarbar". But if destination filename is long, the line is shortened like "...barbarbar" so there is no way to know whether the file is renamed or existed in the source commit. Make sure there is always an arrow

Re: [PATCH] clone: local URLs are not for ssh

2013-10-15 Thread Torsten Bögershausen
On 15.10.13 02:12, Jeff King wrote: > On Sun, Oct 13, 2013 at 10:00:12PM +0200, Torsten Bögershausen wrote: > >> On 05.10.13 21:48, Torsten Bögershausen wrote: >>> On 2013-10-03 03.31, Jeff King wrote: http://article.gmane.org/gmane.comp.version-control.git/235473 >> What do we think a