git diff bug? what problem may be here

2015-04-06 Thread KES
When after editing I get this: mdi.Application= this; mdi.Class.TApplication.baseConstructor.apply( this, arguments ); git diff shows: mdi.Application= this; - mdi.Class.TApplication.baseConstructor.apply( this, arguments ); - //We must not create/show application node because of this is

Re: Why can't I stash submodule changes?

2015-04-06 Thread Shane da Silva
Thanks for your responses, all. Jens: yes, only the index is updated by the stash. The subdirectory remains and won't be removed (you will actually receive a warning about `git` not being able to remove it). I think the core of my misunderstanding is I was used to the idea that when `git status`

Re: [PATCH v2 2/5] log: honor log.merges= option

2015-04-06 Thread Eric Sunshine
On Fri, Apr 3, 2015 at 9:21 PM, Koosha Khajehmoogahi wrote: > From: Junio C Hamano > > [kk: wrote commit message] > > Helped-by: Eris Sunshine s/Eris/Eric/ > Signed-off-by: Koosha Khajehmoogahi > --- > builtin/log.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/builtin/log.c

Re: [PATCH v2 1/5] revision: add --merges={show|only|hide} option

2015-04-06 Thread Eric Sunshine
On Fri, Apr 3, 2015 at 9:21 PM, Koosha Khajehmoogahi wrote: > From: Junio C Hamano > > revision: add a new option 'merges=' with > possible values of 'only', 'show' and 'hide'. > The option is used when showing the list of commits. > The value 'only' lists only merges. The value 'show' > is the d

Re: [v6 PATCH] daemon: add systemd support

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 10:03 PM, Shawn Landden wrote: > systemd supports git-daemon's existing --inetd mode as well. > --systemd allows git-daemon has the advantage of allowing one git-daemon > to listen to multiple interfaces as well as the system one(s), > and more allow git-daemon to not be spa

Announcing git-cinnabar 0.2.0

2015-04-06 Thread Mike Hommey
Git-cinnabar is a git remote helper to interact with mercurial repositories. It allows to clone, pull and push from/to mercurial remote repositories, using git. Code on https://github.com/glandium/git-cinnabar [ Previous announcements: http://marc.info/?l=git&m=142364715001983 http://marc.inf

[v6 PATCH] daemon: add systemd support

2015-04-06 Thread Shawn Landden
systemd supports git-daemon's existing --inetd mode as well. --systemd allows git-daemon has the advantage of allowing one git-daemon to listen to multiple interfaces as well as the system one(s), and more allow git-daemon to not be spawned on every connection. Signed-off-by: Shawn Landden --- Re

Re: Freeing struct lock_file?

2015-04-06 Thread David Turner
On Fri, 2015-04-03 at 15:01 -0700, Junio C Hamano wrote: > David Turner writes: > > > Why is it impossible to free struct lock_files? I understand that they > > become part of a linked list, and that there's an atexit handler that > > goes over that list. But couldn't we just remove them from t

Re: [RFCv5 PATCH] daemon: add systemd support

2015-04-06 Thread Eric Sunshine
On Fri, Apr 3, 2015 at 11:22 PM, Shawn Landden wrote: > [RFCv5 PATCH] daemon: add systemd support Now that you've included a documentation update and made the example systemd configuration files more accessible, this feels like a more properly fleshed-out submission (though the commit message is

Re: [PATCH 3/3] clean: improve performance when removing lots of directories

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 7:48 AM, Erik Elfström wrote: > Before this change, clean used resolve_gitlink_ref to check for the > presence of nested git repositories. This had the drawback of creating > a ref_cache entry for every directory that should potentially be > cleaned. The linear search throug

Re: [PATCH 2/3] p7300: added performance tests for clean

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 4:40 PM, Torsten Bögershausen wrote: > On 2015-04-06 13.48, Erik Elfström wrote: >> Signed-off-by: Erik Elfström >> --- >> diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh >> new file mode 100755 >> index 000..3f56fb2 >> --- /dev/null >> +++ b/t/perf/p7300-cle

Re: [PATCH 1/3] t7300: add tests to document behavior of clean and nested git

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 7:48 AM, Erik Elfström wrote: > Signed-off-by: Erik Elfström > --- > diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh > index 99be5d9..cfdf6d4 100755 > --- a/t/t7300-clean.sh > +++ b/t/t7300-clean.sh > @@ -455,6 +455,88 @@ test_expect_success 'nested git work tree' ' >

vandt

2015-04-06 Thread eltroncodesenegal
du vandt 900.000, sende navn, land og tel -- 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 25/25] list-files: documentation

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/Documentation/git-list-files.txt > b/Documentation/git-list-files.txt > new file mode 100644 > index 000..9b9edce > --- /dev/null > +++ b/Documentation/git-list-files.txt >

Re: [PATCH 20/25] list-files: preload index

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > Try to reduce refresh time. Note that we still need another > read_cache() at top top, before parse_pathspec() because this s/top top/the/top/ > *_SLASH_CHEAP needs the index loaded. > > One day read_index() should be improved to noti

Re: [PATCH 18/25] list-files: delete redundant cached entries

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > When both --cached and one of -amdAMD is used together we may have two > entries of the same path, e.g. " foo" and "MM foo". In this case it's > pretty clear that "foo" must be tracked, no need to display " foo". > The new function d

Re: [PATCH 17/25] list-files: add file modification options -[admADM]

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/wt-status.c b/wt-status.c > index cdbc8d7..ba9b56c 100644 > --- a/wt-status.c > +++ b/wt-status.c > @@ -537,9 +537,11 @@ static void wt_status_collect_changes_index(struct > wt_

Re: [PATCH 16/25] list-files: add --unmerged

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/builtin/list-files.c b/builtin/list-files.c > index 31991a4..fe15417 100644 > --- a/builtin/list-files.c > +++ b/builtin/list-files.c > @@ -225,12 +229,46 @@ static void populate

Re: [PATCH 15/25] list-files: add --ignored

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/builtin/list-files.c b/builtin/list-files.c > index 3cbd30d..31991a4 100644 > --- a/builtin/list-files.c > +++ b/builtin/list-files.c > @@ -39,6 +39,7 @@ static int show_dirs; >

Re: [PATCH 11/25] list-files: add --color

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/t/t7013-list-files.sh b/t/t7013-list-files.sh > index a4916d8..cdbc34a 100755 > --- a/t/t7013-list-files.sh > +++ b/t/t7013-list-files.sh > @@ -110,4 +110,48 @@ test_expect_succe

Re: [PATCH 07/25] list-files: add tag to each entry, filter duplicate tags

2015-04-06 Thread Eric Sunshine
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote: > All entries have a two-letter tag. If all entries have the same tags, > tags are not displayed. > > The outcome before and after this patch is the same. But it will be > useful in future when there are more than one type of entry. > > S

Re: [PATCH 2/3] p7300: added performance tests for clean

2015-04-06 Thread Torsten Bögershausen
On 2015-04-06 13.48, Erik Elfström wrote: > Signed-off-by: Erik Elfström > --- > t/perf/p7300-clean.sh | 37 + > 1 file changed, 37 insertions(+) > create mode 100755 t/perf/p7300-clean.sh > > diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh > new f

Re: [ANNOUNCE] Git Merge Contributors Summit, April 8th, Paris

2015-04-06 Thread Stefan Beller
I am interested in discussing the git pack protocol v2. (I have been thinking about that for a while now, though not sharing a lot on the mailing list, so feedback is somewhat limited. :( ) On Mon, Apr 6, 2015 at 12:08 PM, Christian Couder wrote: > On Mon, Apr 6, 2015 at 12:48 AM, Thomas Ferris

Re: [ANNOUNCE] Git Merge Contributors Summit, April 8th, Paris

2015-04-06 Thread Christian Couder
On Mon, Apr 6, 2015 at 12:48 AM, Thomas Ferris Nicolaisen wrote: > On Tue, Feb 24, 2015 at 11:09 PM, Jeff King wrote: >> I wanted to make one more announcement about this, since a few more >> details have been posted at: >> >> http://git-merge.com/ >> >> since my last announcement. Specifically

EOL conversion on checkout for text files only

2015-04-06 Thread Borek Bernard
Hi, I'd like to propose a new behavior around EOL normalization / forcing using gitattributes. My use case is this: I want to ensure that LF line endings are used in the repo *and* in all working directories, on all platforms (in our case, the text files MUST be LF even on Windows). The first pa

Re: Freeing struct lock_file?

2015-04-06 Thread David Turner
On Sat, 2015-04-04 at 09:16 +0200, Torsten Bögershausen wrote: > On 2015-04-04 02.24, David Turner wrote: > > On Fri, 2015-04-03 at 15:01 -0700, Junio C Hamano wrote: > >> David Turner writes: > >> > >>> Why is it impossible to free struct lock_files? I understand that they > >>> become part of a

Re: Why can't I stash submodule changes?

2015-04-06 Thread Jens Lehmann
Am 06.04.2015 um 04:15 schrieb Shane da Silva: I’m having trouble understanding why I cannot stash changes to a submodule. When adding a submodule to a repository (`git submodule add ./sub-repo`), I can then run `git stash` and `git stash pop` with expected results—the submodule disappears and r

Re: Why can't I stash submodule changes?

2015-04-06 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/5/2015 10:15 PM, Shane da Silva wrote: > I’m trying to wrap my head around why this is the current behavior, > as I suspect this is intentional but it seems unexpected. If anyone > can shed any light on this, I would really appreciate it! Why wou

About git log

2015-04-06 Thread niu2x
I'm a beginner. Please tell me the log of git commit is exist forever or 90 days -- 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

Urgent!!!

2015-04-06 Thread Western Union
WESTERN UNION MONEY TRANSFER: $ 350,000 LODGED IN YOUR NAME. REPLY BACK. Kind Regards, Stephen Casswell -- 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 v2 00/25] list-files redesign

2015-04-06 Thread Duy Nguyen
On Mon, Apr 6, 2015 at 8:52 PM, Nguyễn Thái Ngọc Duy wrote: > The UI part is the same (or nearly the same) with the last round. The > internal data structure is reorignized to avoid abusing string_list. > Tests and documentation are added back. It's supposed to be a reply to the last round [1] bu

[PATCH 21/25] list-files: reduce match_pathspec calls in matched()

2015-04-06 Thread Nguyễn Thái Ngọc Duy
match_pathspec() is expensive and the loop of match_pathspec() in add_directory() is even more so. Luckily the output string list is usually sorted so if we add a directory "builtin", chances are builtin/foo follows right after. Perform a cheaper strncasecmp() in this case. Signed-off-by: Nguyễn T

[PATCH 24/25] list-files: make :(glob) pathspec default

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 1 + pathspec.c| 4 pathspec.h| 1 + t/t7013-list-files.sh | 7 ++- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index fc9c8d4..c85bb55 10

[PATCH 25/25] list-files: documentation

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/git-list-files.txt (new) | 115 + 1 file changed, 115 insertions(+) create mode 100644 Documentation/git-list-files.txt diff --git a/Documentation/git-list-files.txt b/Documentation/git-list-files.txt new file

[PATCH 23/25] pathspec: move getenv() code out of prefix_pathspec()

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- pathspec.c | 55 +++ 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/pathspec.c b/pathspec.c index 9304ee3..5573127 100644 --- a/pathspec.c +++ b/pathspec.c @@ -88,6 +88,13 @@ static void p

[PATCH 22/25] list-files: only do diff that is actually useful

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 12 wt-status.c | 8 wt-status.h | 2 ++ 3 files changed, 22 insertions(+) diff --git a/builtin/list-files.c b/builtin/list-files.c index 228c39b..fc9c8d4 100644 --- a/builtin/list-files.c ++

[PATCH 14/25] list-files: add --cached and --others

2015-04-06 Thread Nguyễn Thái Ngọc Duy
If no filter options are specified, --cached is the default. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 79 ++- t/t7013-list-files.sh | 38 - 2 files changed, 115 insertions(+), 2 deletions(-) diff --gi

[PATCH 20/25] list-files: preload index

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Try to reduce refresh time. Note that we still need another read_cache() at top top, before parse_pathspec() because this *_SLASH_CHEAP needs the index loaded. One day read_index() should be improved to notice that the on-disk version is the same as the one in memory and skip I/O entirely.. Signe

[PATCH 13/25] list-files: new indicator '&' for submodules when -F is used

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 2 ++ t/t7013-list-files.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index 31f1f25..7c18848 100644 --- a/builtin/list-files.c +++ b/builtin/list-files.c @@ -221

[PATCH 12/25] list-files: add -F/--classify

2015-04-06 Thread Nguyễn Thái Ngọc Duy
This appends an indicator after the file name if it's executable, a directory and so on, like in GNU ls. In fact append_indicator() is a rewrite from get_type_indicator() in coreutils.git commit 7326d1f1a67edf21947ae98194f98c38b6e9e527. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.

[PATCH 19/25] list-files: make alias 'ls' default to 'list-files'

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- config.c | 8 1 file changed, 8 insertions(+) diff --git a/config.c b/config.c index 15a2983..16209c6 100644 --- a/config.c +++ b/config.c @@ -40,6 +40,10 @@ static struct config_source *cf; static int zlib_compression_seen; +static const cha

[PATCH 15/25] list-files: add --ignored

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 22 -- t/t7013-list-files.sh | 15 +++ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index 3cbd30d..31991a4 100644 --- a/builtin/list-files

[PATCH 17/25] list-files: add file modification options -[admADM]

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 73 --- t/t7013-list-files.sh | 62 +++ wt-status.c | 8 +++--- wt-status.h | 1 + 4 files changed, 137 insertions(+), 7 de

[PATCH 18/25] list-files: delete redundant cached entries

2015-04-06 Thread Nguyễn Thái Ngọc Duy
When both --cached and one of -amdAMD is used together we may have two entries of the same path, e.g. " foo" and "MM foo". In this case it's pretty clear that "foo" must be tracked, no need to display " foo". The new function does that. Helped-by: Eric Sunshine Signed-off-by: Nguyễn Thái Ngọc

[PATCH 16/25] list-files: add --unmerged

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 50 +- t/t7013-list-files.sh | 35 +++ 2 files changed, 80 insertions(+), 5 deletions(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index

[PATCH 07/25] list-files: add tag to each entry, filter duplicate tags

2015-04-06 Thread Nguyễn Thái Ngọc Duy
All entries have a two-letter tag. If all entries have the same tags, tags are not displayed. The outcome before and after this patch is the same. But it will be useful in future when there are more than one type of entry. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 64 ++

[PATCH 11/25] list-files: add --color

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 30 +- t/t7013-list-files.sh | 44 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index a60ab98..02a

[PATCH 10/25] list-files: show directories as well as files

2015-04-06 Thread Nguyễn Thái Ngọc Duy
The index does not store directories explicitly (except submodules) so we have to figure them out from file list when output lis depth-limited. The function add_directory() can generate duplicate entries, which is cleaned up before displaying. Helped-by: Eric Sunshine Helped-by: Junio C Hamano

[PATCH 03/25] ls_colors.c: add a function to color a file name

2015-04-06 Thread Nguyễn Thái Ngọc Duy
The new function is based on print_color_indicator() from commit 7326d1f1a67edf21947ae98194f98c38b6e9e527 in coreutils.git. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- color.h | 2 ++ ls_colors.c | 66 +

[PATCH 09/25] list-files: add --max-depth, -R and default to --max-depth=0

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 9 - t/t7013-list-files.sh | 40 2 files changed, 40 insertions(+), 9 deletions(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index 8913770..4599cf0 100644 --- a/builti

[PATCH 08/25] list-files: add --[no-]column, -C and -1

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 22 +- t/t7013-list-files.sh | 27 +++ 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index ec9ca17..8913770 100644 --- a/builtin

[PATCH 06/25] list-files: show paths relative to cwd

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 9 - t/t7013-list-files.sh | 24 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/builtin/list-files.c b/builtin/list-files.c index 8b74d79..51ff19d 100644 --- a/builtin/list-files.c ++

[PATCH 04/25] ls_colors.c: highlight submodules like directories

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- Documentation/config.txt | 3 ++- ls_colors.c | 8 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/config.txt b/Documentation/config.txt index 2090866..2290c47 100644 --- a/Do

[PATCH 05/25] list-files: command skeleton

2015-04-06 Thread Nguyễn Thái Ngọc Duy
list-files is supposed to be the user friendly version of ls-files, or an alternative to git-status. Nothing fancy in this patch yet. Signed-off-by: Nguyễn Thái Ngọc Duy --- .gitignore | 1 + Makefile | 1 + builtin.h | 1 + bu

[PATCH 02/25] ls_colors.c: parse color.ls.* from config file

2015-04-06 Thread Nguyễn Thái Ngọc Duy
This is the second (and preferred) source for color information. This will override $LS_COLORS. Helped-by: Michael Blume Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- Documentation/config.txt | 11 +++ ls_colors.c | 30 +-

[PATCH 01/25] ls_colors.c: add $LS_COLORS parsing code

2015-04-06 Thread Nguyễn Thái Ngọc Duy
Reusing color settings from $LS_COLORS could give a native look and feel on file coloring. This code is basically from coreutils.git [1], rewritten to fit Git. As this is from GNU ls, the environment variable CLICOLOR is not tested. It is to be decided later whether we should ignore $LS_COLORS if

[PATCH v2 00/25] list-files redesign

2015-04-06 Thread Nguyễn Thái Ngọc Duy
The UI part is the same (or nearly the same) with the last round. The internal data structure is reorignized to avoid abusing string_list. Tests and documentation are added back. Nguyễn Thái Ngọc Duy (25): ls_colors.c: add $LS_COLORS parsing code ls_colors.c: parse color.ls.* from config file

[Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages

2015-04-06 Thread Steven Huang
Hi, We know git uses cURL to grab https repositories from the Internet. Nowadays the SSL-enabled git repos are getting more and more, especially self-hosted ones. Some of the websites including those enabled by CloudFlare, however, does not support common encryption ciphers pr

Feature request: implement '--follow' option for `git blame`

2015-04-06 Thread KES
$ pwd /data/mdi2/classes $ git blame -L22,+1 -- utils.js 99b7a802 mdi2/utils.js (user 2015-03-26 21:54:57 +0200 22) #comment $ git blame -L22,+1 99b7a802^ -- utils.js fatal: no such path mdi2/classes/utils.js in 99b7a802^ As you have noticed, the file were in different d

[PATCH 1/3] t7300: add tests to document behavior of clean and nested git

2015-04-06 Thread Erik Elfström
Signed-off-by: Erik Elfström --- These tests were added so that I could understand the corner case behaviors of clean and nested repositories and document the changes in behavior that this series will cause. The ones marked as expect failure will be changed to expect success later in the series.

[PATCH 2/3] p7300: added performance tests for clean

2015-04-06 Thread Erik Elfström
Signed-off-by: Erik Elfström --- t/perf/p7300-clean.sh | 37 + 1 file changed, 37 insertions(+) create mode 100755 t/perf/p7300-clean.sh diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh new file mode 100755 index 000..3f56fb2 --- /dev/null +++ b

[PATCH 3/3] clean: improve performance when removing lots of directories

2015-04-06 Thread Erik Elfström
Before this change, clean used resolve_gitlink_ref to check for the presence of nested git repositories. This had the drawback of creating a ref_cache entry for every directory that should potentially be cleaned. The linear search through the ref_cache list caused a massive performance hit for larg

[PATCH 0/3] Improving performance of git clean

2015-04-06 Thread Erik Elfström
This series addresses a performance issue of git clean previously discussed here: http://thread.gmane.org/gmane.comp.version-control.git/265560/focus=265560 and here: http://thread.gmane.org/gmane.comp.version-control.git/266777/focus=266777 The issue manifests when trying to clean a large number

Re: rev-list pretty format behavior

2015-04-06 Thread Oliver Runge
Hallo, Mr. Hamano. Thank you for your quick and detailed response. On 5 April 2015 at 23:12, Junio C Hamano wrote: > This is very much the designed behaviour, I would think. IIRC, the > user-format support of "rev-list" was designed so that the scripts > can customize the output from "rev-list