David Turner writes:
> While unpacking trees (e.g. during git checkout), when we hit a cache
> entry that's past and outside our path, we cut off iteration.
>
> This provides about a 45% speedup on git checkout between master and
> master^2 on Twitter's monorepo. Speedup in general will depe
SZEDER Gábor writes:
> Quoting Junio C Hamano :
>
>>> +test_expect_success 'error on clean index and worktree while on
>>> orphan branch' '
>>> + test_when_finished "git checkout master" &&
>>> + git checkout --orphan orphan &&
>>> + git reset --hard &&
>>> + test_must_fail run_require_
Stefan Beller writes:
> Right, that's what I have here now. I should have said that.
>
> I was not trying to excuse anything, but more explaining the situation
> when reading the second sentence. (You seem to assume I'd want to rewrite
> all the shell scripts. Which I am not)
I think it is a rea
Stefan Beller writes:
> On Wed, Jan 20, 2016 at 1:30 PM, Junio C Hamano wrote:
>
>> If this were used to implement "there are various groups defined,
>> and the user tells us that submodules in this and that groups are to
>> be automatically initialized", then naming the field with a name
>> tha
While unpacking trees (e.g. during git checkout), when we hit a cache
entry that's past and outside our path, we cut off iteration.
This provides about a 45% speedup on git checkout between master and
master^2 on Twitter's monorepo. Speedup in general will depend on
repostitory structure, num
I am General Wurth.I am serving in the US military in Afghanistan with
the army infantry division,during our search and rescue duty in
Afghanistan, my team came across hidden treasure that contains 40kilos
of gold dust and a huge amount of money in the rebel camp.we want to
move the fund out of the
I am General Wurth.I am serving in the US military in Afghanistan with
the army infantry division,during our search and rescue duty in
Afghanistan, my team came across hidden treasure that contains 40kilos
of gold dust and a huge amount of money in the rebel camp.we want to
move the fund out of the
From: Andrew Wheeler
The --force--with-lease push option leads to less
detailed status information than --force. In particular,
the output indicates that a reference was fast-forwarded,
even when it was force-updated.
Modify the --force-with-lease ref status logic to leverage
the --force ref sta
Stefan Beller writes:
> In this patch series we only need to check the items of that list one by one,
> no need for a sorted version, so I'll change it to be unsorted and
> document that.
I actually was going to suggest keeping the sorted one. The order
may be changed from the order specified i
On Wed, Jan 20, 2016 at 1:30 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> All submodules which are selected via submodule groups
>> ("submodule.groups") are initialized if they were not initialized
>> before updating the submodules.
>>
>> Signed-off-by: Stefan Beller
>> ---
>> builtin
Quoting Junio C Hamano :
+test_expect_success 'error on clean index and worktree while on
orphan branch' '
+ test_when_finished "git checkout master" &&
+ git checkout --orphan orphan &&
+ git reset --hard &&
+ test_must_fail run_require_clean_work_tree
+'
The title
Lars Vogel writes:
> The usage of working directory is inconsistent in the git add help.
> Also http://git-scm.com/docs/giit-clone speaks only about working tree.
> Remaining entry found by "git grep -B1 '^directory' git-add.txt" really
> relates to a directory.
>
> Signed-off-by: Lars Vogel
> -
On Wed, Jan 20, 2016 at 1:23 PM, Junio C Hamano wrote:
>> free((void *) entry->config->name);
>> + if (entry->config->groups)
>> + string_list_clear(entry->config->groups, 0);
>
> You are allocating entry->config->groups itself in the in the hunk
> around ll.327, so that also
Thomas Braun writes:
> Signed-off-by: Thomas Braun
> ---
> contrib/completion/git-completion.bash | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/completion/git-completion.bash
> b/contrib/completion/git-completion.bash
> index ab4da7f..d2a08dd 100644
> --- a/co
On Wed, Jan 20, 2016 at 4:08 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
@@ -165,6 +166,10 @@ cmd_add()
--depth=*)
depth=$1
;;
+ -g|--group)
+
submodule_groups=${s
Stefan Beller writes:
>>> @@ -165,6 +166,10 @@ cmd_add()
>>> --depth=*)
>>> depth=$1
>>> ;;
>>> + -g|--group)
>>> +
>>> submodule_groups=${submodule_groups:+${submodule_groups};}"$2"
>>> +
SZEDER Gábor writes:
> git-sh-setup's require_clean_work_tree() always exits with error on an
> orphan branch, even when the index and worktree are both clean.
Ah, I just sent a review on 1/2 as I found it was not commented on
by anybody, but re-reading this sentence (and subsequent review of
th
SZEDER Gábor writes:
> Add tests that check require_clean_work_tree() in the common cases,
> i.e. on a branch with all combinations of clean and dirty index and
> worktree, and also add tests that exercise it on an orphan branch.
>
> require_clean_work_tree()'s behavior in the orphan branch cases
On Wed, Jan 20, 2016 at 1:18 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> diff --git a/git-submodule.sh b/git-submodule.sh
>> index 6fce0dc..ab0f209 100755
>> --- a/git-submodule.sh
>> +++ b/git-submodule.sh
>> @@ -130,6 +130,7 @@ cmd_add()
>> {
>> # parse $args after "submodule
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 ones marked with '.' do not appear in any of
the integration branches, but I am still holding onto them.
The tip of 'master' now has second
Nguyễn Thái Ngọc Duy writes:
> For simplicity, the note of commit A implies rename correction between
> A^ and A. If parents are manipulated (e.g. "git log --reflog") then
> the rename output may surprise people.
I do not think "git log --reflog" attempts to show changes to bring
the tree of @{
So I ran an interactive rebase, and while editing
.git/rebase-merge/git-rebase-todo I tried to run
`git status` in another terminal to inquire about a
filename of an untracked file.
However, I got:
$ git status
On branch submodule-groups-v3
fatal: Could not open file .git/rebase-merge/done for re
Stefan Beller writes:
> "say" respects the setting of GIT_QUIET, which is usually set when
> --quiet is passed, so I think I want:
>
> - A faithful rewrite from shell to C including messages respecting
>--quiet, such that the "say" behavior is kept.
>
> - s/printf/fprintf(stderr, / for some
Nguyễn Thái Ngọc Duy writes:
> Git's heuristics to detect renames or copies works most of the time.
> This option can be used to correct the result when it goes wrong.
> Matching pairs get max rename score and override even exact rename
> detection.
>
> Note that --rename-file does not try to br
Nguyễn Thái Ngọc Duy writes:
> Git's heuristics to detect renames or copies works most of the time.
> This option can be used to correct the result when it goes wrong.
> Matching pairs get max rename score and override even exact rename
> detection.
>
> Note that --rename-file does not try to br
On Wed, Jan 20, 2016 at 02:05:22PM -0800, Junio C Hamano wrote:
> Mike Hommey writes:
>
> > On Mon, Jan 18, 2016 at 07:54:21PM -0800, Junio C Hamano wrote:
> >
> >> Hmm, sorry. For the two-trait example I gave (that can be extended
> >> to N-trait), I can sort of see how the UI might look and I
On Wed, Jan 20, 2016 at 1:01 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> By having the `init` functionality in C, we can reference it easier
>> from other parts in the code.
>>
>> Signed-off-by: Stefan Beller
>> Signed-off-by: Junio C Hamano
>> ---
>
> How faithful a conversion is th
Thanks. Will queue.
Anybody who knows the untracked code wants to give the final
eyeballing over the series, so that we can start thinking about
merging it to 'next'?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More major
Mike Hommey writes:
> On Mon, Jan 18, 2016 at 07:54:21PM -0800, Junio C Hamano wrote:
>
>> Hmm, sorry. For the two-trait example I gave (that can be extended
>> to N-trait), I can sort of see how the UI might look and I can say
>> it might be useful [*1*], but not with this, and especially that
Jeff King writes:
> On Wed, Jan 20, 2016 at 12:23:38PM -0800, Junio C Hamano wrote:
>
>> Nguyễn Thái Ngọc Duy writes:
>>
>> > This will be important later when diff_opt_parse() accepts paths as
>> > arguments. Paths must be prefixed before access because setup code
>> > moves cwd but does not
Specs:
MacBook Pro
OS X Yosemite
2.6 GHz Intel Core i5, 8GN 1600 MHz DDR3
After selecting the Git option in a recent install of Visual Studio Code 2015
for MAC, my filesystem was removed. I can no longer access any of the local
files stored on my machine. After researching many blogs/websites t
Stefan Beller writes:
> When invocing clone with the groups option,
> the repository will be configured to the specified groups.
> This has implications for the submodule commands, such as
> update.
>
> Having groups configured will imply init for all uninitialized
> submodules belonging to at le
Hi,
On Wed, Jan 20, 2016 at 01:24:21PM -0500, Jeff King wrote:
> On Wed, Jan 20, 2016 at 09:21:37AM -0800, Matt Kraai wrote:
> > -'@\{\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes
> > ago\}'::
> > +'@{}', e.g. 'master@\{yesterday\}', 'HEAD@{5 minutes ago}'::
>
> I see you didn't tweak the
Stefan Beller writes:
> All submodules which are selected via submodule groups
> ("submodule.groups") are initialized if they were not initialized
> before updating the submodules.
>
> Signed-off-by: Stefan Beller
> ---
> builtin/submodule--helper.c | 30 +-
> t/t740
Stefan Beller writes:
> We need the submodule groups in a later patch.
>
> Signed-off-by: Stefan Beller
> ---
> submodule-config.c | 13 +
> submodule-config.h | 1 +
> 2 files changed, 14 insertions(+)
>
> diff --git a/submodule-config.c b/submodule-config.c
> index a32259e..b5453
Stefan Beller writes:
> diff --git a/git-submodule.sh b/git-submodule.sh
> index 6fce0dc..ab0f209 100755
> --- a/git-submodule.sh
> +++ b/git-submodule.sh
> @@ -130,6 +130,7 @@ cmd_add()
> {
> # parse $args after "submodule ... add".
> reference_path=
> + submodule_groups=
This
Stefan Beller writes:
> By having the `init` functionality in C, we can reference it easier
> from other parts in the code.
>
> Signed-off-by: Stefan Beller
> Signed-off-by: Junio C Hamano
> ---
How faithful a conversion is this aiming to be? For example, one
thing I noticed is that some mess
Stefan Beller writes:
> This is a resend of sb/submodule-parallel-update and is available
> at github[1] as well. It applies on top of
> sb/submodule-parallel-fetch
>
> What does it do?
> ---
> This series should finish the on going efforts of parallelizing
> submodule network traffic. The patch
Lars Schneider writes:
> On 19 Jan 2016, at 21:00, Junio C Hamano wrote:
>
>> IOW, I am confused by the beginning of the log message that says
>> this is taking advantage of "the Travis-CI cache feature". This
>> improvement looks to me like using the feature of "prove" that
>> allows us to run
In the documentation for .gitattributes, "[[:space:]]" is mentioned in
a code snippet but is
not documented, and neither is the glob syntax escape from the
documentation page for
.gitignore ("\ ") not working with .gitattributes.
For example, in a .gitattributes file the first glob will work, but
On Wed, Jan 20, 2016 at 12:28:53PM -0800, Junio C Hamano wrote:
> >> -'@\{\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes
> >> ago\}'::
> >> +'@{}', e.g. 'master@\{yesterday\}', 'HEAD@{5 minutes
> >> ago}'::
> >
> > I see you didn't tweak the middle one here, because it _does_ look like
> >
On Wed, Jan 20, 2016 at 12:23:38PM -0800, Junio C Hamano wrote:
> Nguyễn Thái Ngọc Duy writes:
>
> > This will be important later when diff_opt_parse() accepts paths as
> > arguments. Paths must be prefixed before access because setup code
> > moves cwd but does not (and cannot) update command
Jeff King writes:
> On Wed, Jan 20, 2016 at 09:21:37AM -0800, Matt Kraai wrote:
>
>> From: Matthew Kraai
>>
>> asciidoctor does not remove backslashes used to escape curly brackets from
>> the HTML output if the contents of the curly brackets are empty or contain
>> at least a <, -, or space.
Nguyễn Thái Ngọc Duy writes:
> This will be important later when diff_opt_parse() accepts paths as
> arguments. Paths must be prefixed before access because setup code
> moves cwd but does not (and cannot) update command line options.
The above sounds like a sensible thing to do (note: I didn't
David Greene writes:
> From: David A. Greene
>
> Add some Makefile dependencies to ensure an updated git-subtree
> gets copied to the main area before testing begins.
>
> Signed-off-by: David A. Greene
> ---
>
> Notes:
> v1 - Initial patch
This looks OK to me, but does this change make wha
On Wed, Jan 20, 2016 at 09:21:37AM -0800, Matt Kraai wrote:
> From: Matthew Kraai
>
> asciidoctor does not remove backslashes used to escape curly brackets from
> the HTML output if the contents of the curly brackets are empty or contain
> at least a <, -, or space. asciidoc does not require th
Signed-off-by: Thomas Braun
---
contrib/completion/git-completion.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index ab4da7f..d2a08dd 100644
--- a/contrib/completion/git-completion.bash
+++
From: Matthew Kraai
asciidoctor does not remove backslashes used to escape curly brackets from
the HTML output if the contents of the curly brackets are empty or contain
at least a <, -, or space. asciidoc does not require the backslashes in
these cases, so just remove them.
Signed-off-by: Matt
48 matches
Mail list logo