Multi-threaded 'git clone'

2015-02-16 Thread Koosha Khajehmoogahi
Greetings, Cloning huge repositories like Linux kernel takes considerable amount of time. Is it possible to incorporate a multi-threaded simultaneous connections functionality for cloning? To what extent do we need to change the architecture of the current code and how large would be the scope of

[GSoC idea] Resumable clone

2015-03-02 Thread Koosha Khajehmoogahi
Among GSoC 2011 ideas of git [1], it was proposed that a GSoC project could be implementing resumable clone for git. AFAIK, this feature is still missing in git but could be a great idea to be implemented. Does that sound OK to the community? [1]: https://git.wiki.kernel.org/index.php/SoC2011Ideas

Clarification required for microproject "Add configuration options for some commonly used command-line options"

2015-03-10 Thread Koosha Khajehmoogahi
Does this microproject require the feature to be a generic one for every possible command or should it be limited to some particular commands? -- 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.

[PATCH] [GSoC] Add configuration options for some commonly used command-line options

2015-03-15 Thread Koosha Khajehmoogahi
This patch adds a 'showmerges' config. option for git-log. This option determines whether the log should contain merge commits or not. In essence, if this option is set to true, git-log will be run as 'git-log --no-merges'. Signed-off-by: Koosha Khajehmoogahi --- Document

Re: [PATCH] [GSoC] Add configuration options for some commonly used command-line options

2015-03-15 Thread Koosha Khajehmoogahi
On 03/15/2015 08:29 PM, Koosha Khajehmoogahi wrote: > This patch adds a 'showmerges' config. option for git-log. > This option determines whether the log should contain merge > commits or not. In essence, if this option is set to true, Sorry, this should be 'false

[PATCH] [RFC] Add a new config. option for skipping merges in git-log

2015-03-16 Thread Koosha Khajehmoogahi
howmerges' is set, we use --include-merges command line option. Signed-off-by: Koosha Khajehmoogahi --- Documentation/config.txt | 3 +++ builtin/log.c| 9 + revision.c | 2 ++ revision.h | 1 + 4 files changed, 15 insertions(+) Please hel

[PATCH] [RFC] Add a new config. option for skipping merges in git-log

2015-03-16 Thread Koosha Khajehmoogahi
howmerges' is set, we use --include-merges command line option. Signed-off-by: Koosha Khajehmoogahi --- Documentation/config.txt | 3 +++ builtin/log.c| 9 + revision.c | 2 ++ revision.h | 1 + 4 files changed, 15 insertions(+) This is the se

[PATCH] [RFC] Add a new config. option for skipping merges in git-log

2015-03-16 Thread Koosha Khajehmoogahi
howmerges' is set, we use --include-merges command line option. Signed-off-by: Koosha Khajehmoogahi --- Documentation/config.txt | 3 +++ builtin/log.c| 9 + revision.c | 2 ++ revision.h | 1 + 4 files changed, 15 insertions(+) This is the t

Re: [PATCH] [RFC] Add a new config. option for skipping merges in git-log

2015-03-16 Thread Koosha Khajehmoogahi
On 03/16/2015 06:53 PM, Junio C Hamano wrote: > Koosha Khajehmoogahi writes: > >> This patch adds a 'showmerges' config. option for git-log. >> This option determines whether the log should contain merge >> commits or not. In essence, if this option is set t

Re: [PATCH] [RFC] Add a new config. option for skipping merges in git-log

2015-03-16 Thread Koosha Khajehmoogahi
On 03/16/2015 09:50 PM, Junio C Hamano wrote: > The command line overrides the config, no? If you set up what the > command line defaults to from the config, let the command line > parser do whatever it wants to do, and do nothing else after the > command line parser returns, wouldn't that be su

[PATCH 5/5] Update Bash completion script to include git log --merges option

2015-03-22 Thread Koosha Khajehmoogahi
Signed-off-by: Koosha Khajehmoogahi --- contrib/completion/git-completion.bash | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 731c289..b63bb95 100644 --- a/contrib/completion

[PATCH 1/5] Add a new option 'merges' to revision.c

2015-03-22 Thread Koosha Khajehmoogahi
commits as well as merges and the value 'hide' makes it just list commit items. Signed-off-by: Koosha Khajehmoogahi --- revision.c | 22 ++ revision.h | 1 + 2 files changed, 23 insertions(+) diff --git a/revision.c b/revision.c index 66520c6..edb7bed 10064

[PATCH 3/5] Update documentations for git-log to include the new --merges option and also its corresponding config option.

2015-03-22 Thread Koosha Khajehmoogahi
Signed-off-by: Koosha Khajehmoogahi --- Documentation/git-log.txt | 3 +++ Documentation/rev-list-options.txt | 6 ++ 2 files changed, 9 insertions(+) diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 1f7bc67..506125a 100644 --- a/Documentation/git-log.txt

[PATCH 2/5] Make git-log honor log.merges option

2015-03-22 Thread Koosha Khajehmoogahi
Signed-off-by: Koosha Khajehmoogahi --- builtin/log.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/builtin/log.c b/builtin/log.c index dd8f3fc..c7a7aad 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -36,6 +36,7 @@ static int decoration_given; static int use_mailmap_config

[PATCH 4/5] Add tests for git-log --merges=show|hide|only

2015-03-22 Thread Koosha Khajehmoogahi
Signed-off-by: Koosha Khajehmoogahi --- t/t4202-log.sh | 141 + 1 file changed, 141 insertions(+) diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 5f2b290..ab6f371 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -428,6 +428,147

Re: [PATCH 4/5] Add tests for git-log --merges=show|hide|only

2015-03-22 Thread Koosha Khajehmoogahi
On 03/22/2015 08:57 PM, Torsten Bögershausen wrote: > On 22.03.15 19:28, Koosha Khajehmoogahi wrote: >> Signed-off-by: Koosha Khajehmoogahi >> --- >> t/t4202-log.sh | 141 >> + >> 1 file changed, 141 i

Re: [PATCH 4/5] Add tests for git-log --merges=show|hide|only

2015-03-22 Thread Koosha Khajehmoogahi
On 03/22/2015 11:40 PM, Eric Sunshine wrote: > On Sun, Mar 22, 2015 at 6:07 PM, Koosha Khajehmoogahi > wrote: >> On 03/22/2015 08:57 PM, Torsten Bögershausen wrote: >>> On 22.03.15 19:28, Koosha Khajehmoogahi wrote: >>>> Signed-off-by: Koosha Khajehmoogahi &

Re: [PATCH 1/5] Add a new option 'merges' to revision.c

2015-03-22 Thread Koosha Khajehmoogahi
On 03/23/2015 12:31 AM, Junio C Hamano wrote: > Koosha Khajehmoogahi writes: > >> @@ -1800,9 +1817,14 @@ static int handle_revision_opt(struct rev_info *revs, >> int argc, const char **arg >> revs->show_all = 1; >> } else

git-send-email.perl should check the version of Perl modules it uses

2015-03-22 Thread Koosha Khajehmoogahi
On Debian Wheezy with its outdated packages, the version of Net::SMTP::SSL is 1.01. If you try to use send-email, the script will crash with the following error: STARTTLS failed! SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate ver

[PATCH v2 4/5] t4202-log: add tests for --merges=

2015-04-03 Thread Koosha Khajehmoogahi
Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- t/t4202-log.sh | 84 ++ 1 file changed, 84 insertions(+) diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 1b2e981..ceaaf4e 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh

[PATCH v2 5/5] bash-completion: add support for git-log --merges= and log.merges

2015-04-03 Thread Koosha Khajehmoogahi
Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- contrib/completion/git-completion.bash | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index fbe5972..a75d7f5

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

2015-04-03 Thread Koosha Khajehmoogahi
vior which shows the commits as well as merges and the value 'hide' makes it just list commit items. [kk: chose names for options; wrote commit message] Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- revision.c | 20 revision.h | 1 + 2 files

[PATCH v2 3/5] Documentation: add git-log --merges= option and log.merges config. var

2015-04-03 Thread Koosha Khajehmoogahi
Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- Documentation/git-log.txt | 3 +++ Documentation/rev-list-options.txt | 18 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index

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

2015-04-03 Thread Koosha Khajehmoogahi
From: Junio C Hamano [kk: wrote commit message] Helped-by: Eris Sunshine Signed-off-by: Koosha Khajehmoogahi --- builtin/log.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/builtin/log.c b/builtin/log.c index dd8f3fc..c7a7aad 100644 --- a/builtin/log.c +++ b/builtin/log.c

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

2015-04-07 Thread Koosha Khajehmoogahi
On 04/04/2015 10:00 PM, Junio C Hamano wrote: > Koosha Khajehmoogahi writes: > >> From: Junio C Hamano >> >> [kk: wrote commit message] > > Ehh, what exactly did you write ;-)? > > I think the most important thing that needs to be explained by the >

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

2015-04-08 Thread Koosha Khajehmoogahi
On 04/08/2015 04:28 AM, Junio C Hamano wrote: > Koosha Khajehmoogahi writes: > >> On 04/04/2015 10:00 PM, Junio C Hamano wrote: >>> Koosha Khajehmoogahi writes: >>> >>>> From: Junio C Hamano >>>> >>>> [kk: wrote commit message

[PATCH v3 4/5] t4202-log: add tests for --merges=

2015-04-13 Thread Koosha Khajehmoogahi
From: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- t/t4202-log.sh | 29 + 1 file changed, 29 insertions(+) diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 1b2e981..3edcd81 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -270,6 +270,35 @@ cat > exp

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

2015-04-13 Thread Koosha Khajehmoogahi
hich shows the commits as well as merges and the value 'hide' makes it just list commit items. [kk: chose names for options; wrote commit message] Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- revision.c | 20 revision.h | 1 + 2 files changed

[PATCH v3 5/5] bash-completion: add support for git-log --merges= and log.merges

2015-04-13 Thread Koosha Khajehmoogahi
Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- contrib/completion/git-completion.bash | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index fbe5972..a75d7f5

[PATCH v3 3/5] Documentation: add git-log --merges= option and log.merges config. var

2015-04-13 Thread Koosha Khajehmoogahi
From: Junio C Hamano [kk: added documentation in git-log.txt] Signed-off-by: Koosha Khajehmoogahi --- Documentation/git-log.txt | 3 +++ Documentation/rev-list-options.txt | 17 + 2 files changed, 20 insertions(+) diff --git a/Documentation/git-log.txt b

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

2015-04-13 Thread Koosha Khajehmoogahi
message] Helped-by: Eric Sunshine Signed-off-by: Koosha Khajehmoogahi --- builtin/log.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/builtin/log.c b/builtin/log.c index dd8f3fc..c7a7aad 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -36,6 +36,7 @@ static int decoration_given; static

Re: [PATCH v3 3/5] Documentation: add git-log --merges= option and log.merges config. var

2015-04-15 Thread Koosha Khajehmoogahi
On 04/14/2015 08:42 AM, Eric Sunshine wrote: > On Mon, Apr 13, 2015 at 11:29 AM, Koosha Khajehmoogahi > wrote: >> From: Junio C Hamano >> >> [kk: added documentation in git-log.txt] >> >> Signed-off-by: Koosha Khajehmoogahi >> --- >> diff