[PATCH] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
The `git log` command shows the author and committer name recorded in the git repository itself, while other commands respect `.mailmap` by default. I believe this is a bad design: it causes log entries to reflect inaccurate information: anyone who changes their name or e-mail address will not hav

[PATCH v2 1/1] diff: munmap() file contents before running external diff

2019-07-11 Thread Johannes Schindelin via GitGitGadget
From: Johannes Schindelin When running an external diff from, say, a diff tool, it is safe to assume that we want to write the files in question. On Windows, that means that there cannot be any other process holding an open handle to said files, or even just a mapped region. So let's make sure t

[PATCH v2 0/1] diff: release all handles before running external diff

2019-07-11 Thread Johannes Schindelin via GitGitGadget
On Windows, it is not possible to overwrite a file as long as any process holds a read handle to it. Even keeping regions memory-mapped prevents that. When git difftool calls git diff, it might be the user's intention to write the file(s) via the diff tool, so let's make sure that they are not mem

Re: `@` alias for `HEAD` not working in `git push -u origin @`

2019-07-11 Thread Johannes Schindelin
Hi brian, On Wed, 10 Jul 2019, brian m. carlson wrote: > On 2019-07-10 at 05:06:08, Mark Florian wrote: > > > > I learned today that `@` is a shortcut for `HEAD`. From `git help > > reivisions`: > > > > @ alone is a shortcut for HEAD. > > > > However, when I tried to use it in a command I fr

Re: What's cooking in git.git (Jul 2019, #01; Wed, 3)

2019-07-11 Thread Phillip Wood
On 08/07/2019 23:02, Junio C Hamano wrote: > Phillip Wood writes: > >>> * pw/rebase-progress-test-cleanup (2019-07-01) 1 commit >>> - t3420: remove progress lines before comparing output >>> (this branch uses sg/rebase-progress.) >>> >>> Test cleanup. >>> >>> Will merge to 'next'. >> >> I've

Re: [GSoC][PATCH v8 00/10] clone: dir-iterator refactoring with tests

2019-07-11 Thread Johannes Schindelin
Hi Matheus, On Wed, 10 Jul 2019, Matheus Tavares wrote: > - a replacement of explicit recursive dir iteration at > copy_or_link_directory for the dir-iterator API; As far as I can see, it was not replaced, but just dropped. Which is good, as it will most likely address the CI failures. Thanks

Re:

2019-07-11 Thread Frank Park
Are you interested in a Loan? We offer Loan at 2% interest rate. if you are interested please send us the amount and your personal details for processing.

Re: [PATCH] gitk: fix --all behavior combined with --not

2019-07-11 Thread Heiko Voigt
On Wed, Jul 10, 2019 at 11:40:50AM -0700, Junio C Hamano wrote: > Heiko Voigt writes: > > > behavior. How about '--all-include-head'. Then e.g. > > > > git rev-parse --all-include-head --all --not origin/master > > > > would include the head ref like you proposed below? > > > > What do you th

Bug with deleted files and stash-push --keep-idex

2019-07-11 Thread Martin Nicolay
Hi! I don't know if this is a software or documentation bug. man git-stash says about --keep-index: If the --keep-index option is used, all changes already added to the index are left intact. If a file is deleted and this deletion is in the index a following $ git stash push --keep-

Re: [RFC PATCH v2 2/3] trace2: add a schema validator for trace2 events

2019-07-11 Thread Jakub Narebski
Josh Steadmon writes: > trace_schema_validator can be used to verify that trace2 event output > conforms to the expectations set by the API documentation and codified > in event_schema.json (or strict_schema.json). This allows us to build a > regression test to verify that trace2 output does not

Re: `@` alias for `HEAD` not working in `git push -u origin @`

2019-07-11 Thread brian m. carlson
On 2019-07-11 at 09:46:26, Johannes Schindelin wrote: > After reading that thread, I come to the conclusion that it was not so > much a decision not to pick it up, but more like a falling between the > cracks. > > I would be in favor of this patch. I think there was some later follow-up in a diff

Re: [PATCH] log: use mailmap by default

2019-07-11 Thread brian m. carlson
On 2019-07-11 at 08:19:58, Ariadne Conill wrote: > The `git log` command shows the author and committer name recorded in > the git repository itself, while other commands respect `.mailmap` > by default. I believe this is a bad design: it causes log entries to > reflect inaccurate information: any

Re: [GSoC][PATCH v8 00/10] clone: dir-iterator refactoring with tests

2019-07-11 Thread Matheus Tavares Bernardino
On Thu, Jul 11, 2019 at 8:56 AM Johannes Schindelin wrote: > > Hi Matheus, > > On Wed, 10 Jul 2019, Matheus Tavares wrote: > > > - a replacement of explicit recursive dir iteration at > > copy_or_link_directory for the dir-iterator API; > > As far as I can see, it was not replaced, but just drop

List of Known Issues for a particular release

2019-07-11 Thread Mark T. Ortell
Hello, I am doing a software tool assessment for functional safety and I am reviewing the use of Git as the SCM. One thing that I need to do is review the list of "known issues" with the Git release being used. I have gone through the release notes and found that it only contains the fixes and

Re: Unexpected or wrong ff, no-ff and ff-only behaviour

2019-07-11 Thread brian m. carlson
On 2019-07-09 at 20:51:39, Bryan Turner wrote: > I think this is something I've seen come up on the list before[1] > (Roland can correct me if I'm wrong). What I've seen asked for before > is the ability to pass the combination "--ff-only --no-ff" and have > that: > * Ensure the branch to be merged

Re: List of Known Issues for a particular release

2019-07-11 Thread Elijah Newren
On Thu, Jul 11, 2019 at 8:50 AM Mark T. Ortell wrote: > > Hello, > > I am doing a software tool assessment for functional safety and I am > reviewing the use of Git as the SCM. One thing that I need to do is review > the list of "known issues" with the Git release being used. I have gone > thro

[PATCH v4 02/14] apply: only pass required data to skip_tree_prefix

2019-07-11 Thread Thomas Gummerer
Currently the 'skip_tree_prefix()' function takes 'struct apply_state' as parameter, even though it only needs the p_value from that struct. This function is in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that happen we only w

[PATCH v4 01/14] apply: replace marc.info link with public-inbox

2019-07-11 Thread Thomas Gummerer
public-inbox.org links include the whole message ID by default. This means the message can still be found even if the site goes away, which is not the case with the marc.info link. Replace the marc.info link with a more future proof one. Signed-off-by: Thomas Gummerer --- apply.c | 2 +- 1 fil

[PATCH v4 00/14] output improvements for git range-diff

2019-07-11 Thread Thomas Gummerer
Thanks Junio for the comment on the previous round [1]. This round reanmes the struct we're using in apply.c to 'struct gitdiff_data', and updates the commit message of 7/14 to reflect the new name of the renamed function. [1]: https://public-inbox.org/git/20190708163315.29912-1-t.gumme...@gmail.

[PATCH v4 03/14] apply: only pass required data to git_header_name

2019-07-11 Thread Thomas Gummerer
Currently the 'git_header_name()' function takes 'struct apply_state' as parameter, even though it only needs the p_value from that struct. This function is in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that happen we only wa

[PATCH v4 05/14] apply: only pass required data to find_name_*

2019-07-11 Thread Thomas Gummerer
Currently the 'find_name_*()' functions take 'struct apply_state' as parameter, even though they only need the 'root' member from that struct. These functions are in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that happen we o

[PATCH v4 04/14] apply: only pass required data to check_header_line

2019-07-11 Thread Thomas Gummerer
Currently the 'check_header_line()' function takes 'struct apply_state' as parameter, even though it only needs the linenr from that struct. This function is in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that happen we only w

[PATCH v4 07/14] apply: make parse_git_diff_header public

2019-07-11 Thread Thomas Gummerer
Make 'parse_git_header()' (renamed to 'parse_git_diff_header()') a "public" function in apply.h, so we can re-use it in range-diff in a subsequent commit. We're renaming the function to make it clearer in other parts of the codebase that we're talking about a diff header and not just any header.

[PATCH v4 06/14] apply: only pass required data to gitdiff_* functions

2019-07-11 Thread Thomas Gummerer
Currently the 'gitdiff_*()' functions take 'struct apply_state' as parameter, even though they only needs the root, linenr and p_value from that struct. These functions are in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that h

[PATCH v4 08/14] range-diff: fix function parameter indentation

2019-07-11 Thread Thomas Gummerer
Fix the indentation of the function parameters for a couple of functions, to match the style in the rest of the file. Signed-off-by: Thomas Gummerer --- range-diff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/range-diff.c b/range-diff.c index 48b0e1b4ce..9242b8975f 1

[PATCH v4 09/14] range-diff: split lines manually

2019-07-11 Thread Thomas Gummerer
Currently range-diff uses the 'strbuf_getline()' function for doing its line by line processing. In a future patch we want to do parts of that parsing using the 'parse_git_diff_header()' function. That function does its own line by line reading of the input, and doesn't use strbufs. This doesn't

[PATCH v4 14/14] range-diff: add headers to the outer hunk header

2019-07-11 Thread Thomas Gummerer
Add the section headers/hunk headers we introduced in the previous commits to the outer diff's hunk headers. This makes it easier to understand which change we are actually looking at. For example an outer hunk header might now look like: @@ Documentation/config/interactive.txt while previ

[PATCH v4 12/14] range-diff: add section header instead of diff header

2019-07-11 Thread Thomas Gummerer
Currently range-diff keeps the diff header of the inner diff intact (apart from stripping lines starting with index). This diff header is somewhat useful, especially when files get different names in different ranges. However there is no real need to keep the whole diff header for that. The main

[PATCH v4 10/14] range-diff: don't remove funcname from inner diff

2019-07-11 Thread Thomas Gummerer
When postprocessing the inner diff in range-diff, we currently replace the whole hunk header line with just "@@". This matches how 'git tbdiff' used to handle hunk headers as well. Most likely this is being done because line numbers in the hunk header are not relevant without other changes. They

[PATCH v4 13/14] range-diff: add filename to inner diff

2019-07-11 Thread Thomas Gummerer
In a range-diff it's not always clear which file a certain funcname of the inner diff belongs to, because the diff header (or section header as added in a previous commit) is not always visible in the range-diff. Add the filename to the inner diffs header, so it's always visible to users. This al

[PATCH v4 11/14] range-diff: suppress line count in outer diff

2019-07-11 Thread Thomas Gummerer
The line count in the outer diff's hunk headers of a range diff is not all that interesting. It merely shows how far along the inner diff are on both sides. That number is of no use for human readers, and range-diffs are not meant to be machine readable. In a subsequent commit we're going to add

Re: List of Known Issues for a particular release

2019-07-11 Thread brian m. carlson
On 2019-07-11 at 15:28:27, Mark T. Ortell wrote: > Hello, > > I am doing a software tool assessment for functional safety and I am > reviewing the use of Git as the SCM. One thing that I need to do is review > the list of "known issues" with the Git release being used. I have gone > through the

Re: [PATCH] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 10:19 AM brian m. carlson wrote: > > On 2019-07-11 at 08:19:58, Ariadne Conill wrote: > > The `git log` command shows the author and committer name recorded in > > the git repository itself, while other commands respect `.mailmap` > > by default. I believe this is

Re: Unexpected or wrong ff, no-ff and ff-only behaviour

2019-07-11 Thread Junio C Hamano
Sergey Organov writes: > Junio C Hamano writes: > > [...] > >> The "the tip being merged into the mainline must always be >> fast-forwardable", > > It's rather "the tip being merged into the mainline must be fast-forwardable > the > first time it is merged". > >> however, is not consistent with

[PATCH] env--helper: mark a file-local symbol as static

2019-07-11 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Junio, It seems Ævar didn't have a need to re-roll his patches [1], before the 'ab/test-env' branch was merged to next. This version of the patch is based on current 'next'. Thanks! ATB, Ramsay Jones [1] https://public-inbox.org/git/f576dfa8-4beb-6430-67b

Re: [PATCH] log: use mailmap by default

2019-07-11 Thread Martin Ågren
Hi Ariadne, Welcome to the list! On Thu, 11 Jul 2019 at 18:39, Ariadne Conill wrote: > > Hello, > > On Thu, Jul 11, 2019 at 10:19 AM brian m. carlson > wrote: > > > > On 2019-07-11 at 08:19:58, Ariadne Conill wrote: > > > The `git log` command shows the author and committer name recorded in > >

Re: [PATCH] gitk: fix --all behavior combined with --not

2019-07-11 Thread Johannes Sixt
Am 10.07.19 um 20:40 schrieb Junio C Hamano: > Heiko Voigt writes: > >> behavior. How about '--all-include-head'. Then e.g. >> >> git rev-parse --all-include-head --all --not origin/master >> >> would include the head ref like you proposed below? >> >> What do you think? Or would you rather g

[PATCH v2 0/3] use mailmap by default in git log

2019-07-11 Thread Ariadne Conill
It is not uncommon for people to change their name or e-mail address. To facilitate this, Git provides support for the `.mailmap` file, which contains a list of identities and previously used e-mail addresses that are associated with that identity. Unfortunately, while Git's support for the `.mail

[PATCH v2 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Ariadne Conill
When mailmap is enabled by default or by configuration, it may be useful to override the default behaviour. Previously, it was possible to enable the mailmap feature when it was disabled by default or in the configuration, but it was not possible to disable the mailmap feature when it was enabled

[PATCH v2 3/3] tests: add test for git log --no-use-mailmap

2019-07-11 Thread Ariadne Conill
In order to prove that the --no-use-mailmap option works as expected, we add a test for it which runs with -Dlog.mailmap=true to ensure that the option successfully negates the configured default. Signed-off-by: Ariadne Conill --- t/t4203-mailmap.sh | 8 1 file changed, 8 insertions(+)

[PATCH v2 1/3] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
The `git log` command shows the author and committer name recorded in the git repository itself, while other commands respect `.mailmap` by default. I believe this is a bad design: it causes log entries to reflect inaccurate information: anyone who changes their name or e-mail address will not hav

Re: What's cooking in git.git (Jul 2019, #02; Tue, 9)

2019-07-11 Thread Junio C Hamano
Matheus Tavares Bernardino writes: > Sorry for the delay. I just sent v8[1] with Dscho's suggestions, which > should fix all those test failures on Windows. Thanks.

Re: [Question] Diff text filters and git add

2019-07-11 Thread Jakub Narebski
"Randall S. Becker" writes: > On July 9, 2019 5:51 PM, Peff wrote: [...] >> No, textconv only applies when generating a diff to output, and will never >> impact what's stored in Git. >> >> It sounds like you might want a clean filter instead, to sanitize the file >> contents as they come into Git

Re: [PATCH v2 3/3] tests: add test for git log --no-use-mailmap

2019-07-11 Thread Beat Bolli
On 11.07.19 19:26, Ariadne Conill wrote: > In order to prove that the --no-use-mailmap option works as expected, > we add a test for it which runs with -Dlog.mailmap=true to ensure that s/-D/-c / This ain't Java :-) > the option successfully negates the configured default. > > Signed-off-by: Ar

Re: [PATCH v2 3/3] tests: add test for git log --no-use-mailmap

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 12:32 PM Beat Bolli wrote: > > On 11.07.19 19:26, Ariadne Conill wrote: > > In order to prove that the --no-use-mailmap option works as expected, > > we add a test for it which runs with -Dlog.mailmap=true to ensure that > > s/-D/-c / > > This ain't Java :-) Indeed

Re: [PATCH] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 12:09 PM Martin Ågren wrote: > > Hi Ariadne, > > Welcome to the list! Thanks! > On Thu, 11 Jul 2019 at 18:39, Ariadne Conill wrote: > > > > Hello, > > > > On Thu, Jul 11, 2019 at 10:19 AM brian m. carlson > > wrote: > > > > > > On 2019-07-11 at 08:19:58, Ariadne

[PATCH] stash: fix handling removed files with --keep-index

2019-07-11 Thread Thomas Gummerer
On 07/11, Martin Nicolay wrote: > Hi! > > I don't know if this is a software or documentation bug. > > man git-stash says about --keep-index: > If the --keep-index option is used, all changes already added to > the index are left intact. > > If a file is deleted and this deletion is in t

[PATCH v3 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Ariadne Conill
When mailmap is enabled by default or by configuration, it may be useful to override the default behaviour. Previously, it was possible to enable the mailmap feature when it was disabled by default or in the configuration, but it was not possible to disable the mailmap feature when it was enabled

[PATCH v3 3/3] tests: rework mailmap tests for git log

2019-07-11 Thread Ariadne Conill
In order to prove that the --no-use-mailmap option works as expected, we add a test for it which runs with -c log.mailmap=true to ensure that the option successfully negates the configured default. Additionally, since --use-mailmap is now the default behaviour, we remove mentions of --use-mailmap

[PATCH v3 0/3] use mailmap by default in git log

2019-07-11 Thread Ariadne Conill
It is not uncommon for people to change their name or e-mail address. To facilitate this, Git provides support for the `.mailmap` file, which contains a list of identities and previously used e-mail addresses that are associated with that identity. Unfortunately, while Git's support for the `.mail

[PATCH v3 1/3] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
The `git log` command shows the author and committer name recorded in the git repository itself, while other commands respect `.mailmap` by default. I believe this is a bad design: it causes log entries to reflect inaccurate information: anyone who changes their name or e-mail address will not hav

Re: [PATCH v2 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Beat Bolli
On 11.07.19 19:26, Ariadne Conill wrote: > When mailmap is enabled by default or by configuration, it may be > useful to override the default behaviour. Previously, it was > possible to enable the mailmap feature when it was disabled by > default or in the configuration, but it was not possible to

Re: [PATCH v2 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 1:24 PM Beat Bolli wrote: > > On 11.07.19 19:26, Ariadne Conill wrote: > > When mailmap is enabled by default or by configuration, it may be > > useful to override the default behaviour. Previously, it was > > possible to enable the mailmap feature when it was disa

Re: [PATCH v2 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Beat Bolli
On 11.07.19 20:25, Ariadne Conill wrote: > Hello, > > On Thu, Jul 11, 2019 at 1:24 PM Beat Bolli wrote: >> >> On 11.07.19 19:26, Ariadne Conill wrote: >>> When mailmap is enabled by default or by configuration, it may be >>> useful to override the default behaviour. Previously, it was >>> possib

[PATCH v4 2/3] log: document --no-use-mailmap option

2019-07-11 Thread Ariadne Conill
When mailmap is enabled by default or by configuration, it may be useful to override the default behaviour. Previously, it was possible to enable the mailmap feature when it was disabled by default or in the configuration, but it was not possible to disable the mailmap feature when it was enabled

[PATCH v4 0/3] use mailmap by default in git log

2019-07-11 Thread Ariadne Conill
It is not uncommon for people to change their name or e-mail address. To facilitate this, Git provides support for the `.mailmap` file, which contains a list of identities and previously used e-mail addresses that are associated with that identity. Unfortunately, while Git's support for the `.mail

[PATCH v4 1/3] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
The `git log` command shows the author and committer name recorded in the git repository itself, while other commands respect `.mailmap` by default. I believe this is a bad design: it causes log entries to reflect inaccurate information: anyone who changes their name or e-mail address will not hav

[PATCH v4 3/3] tests: rework mailmap tests for git log

2019-07-11 Thread Ariadne Conill
In order to prove that the --no-use-mailmap option works as expected, we add a test for it which runs with -c log.mailmap=true to ensure that the option successfully negates the configured default. Additionally, since --use-mailmap is now the default behaviour, we remove mentions of --use-mailmap

Re: [PATCH] gitk: fix --all behavior combined with --not

2019-07-11 Thread Junio C Hamano
Heiko Voigt writes: > if {$revs eq {}} { > set revs HEAD > -} elseif {[lsearch -exact $revs --all] >= 0} { > - lappend revs HEAD > +} else { > + linsert revs 0 --all-include-head > } OK. So the new option means "from here on, the meaning of the '--all' opti

RE: EXTERNAL: Re: List of Known Issues for a particular release

2019-07-11 Thread Mark T. Ortell
Elijah, Thanks for the response. I am not clear whether the test_expect_failure means that the test is trying to do something that should fail and so it is a valid test case or if it is a test case that is failing, but should succeed and has only been temporarily disabled until it is fixed. I'm

Re: [PATCH v2 1/1] diff: munmap() file contents before running external diff

2019-07-11 Thread Junio C Hamano
"Johannes Schindelin via GitGitGadget" writes: > From: Johannes Schindelin > > When running an external diff from, say, a diff tool, it is safe to > assume that we want to write the files in question. On Windows, that > means that there cannot be any other process holding an open handle to > sai

Re: [PATCH v4 0/3] use mailmap by default in git log

2019-07-11 Thread Junio C Hamano
Ariadne Conill writes: > It is not uncommon for people to change their name or e-mail address. > To facilitate this, Git provides support for the `.mailmap` file, > which contains a list of identities and previously used e-mail > addresses that are associated with that identity. > > Unfortunately

Re: [PATCH v4 3/3] tests: rework mailmap tests for git log

2019-07-11 Thread Martin Ågren
On Thu, 11 Jul 2019 at 20:39, Ariadne Conill wrote: > > In order to prove that the --no-use-mailmap option works as expected, > we add a test for it which runs with -c log.mailmap=true to ensure that > the option successfully negates the configured default. I believe that testing with `-c log.mai

Re: [PATCH v4 0/3] use mailmap by default in git log

2019-07-11 Thread Junio C Hamano
Junio C Hamano writes: > Even though I personally think it is an OK longer-term end goal, the > execution looks too hasty. The normal way we handle a big behaviour > change like this is to do the following in steps, in different > releases: > > - In the first release, introduce an early adoptor

Re: EXTERNAL: Re: List of Known Issues for a particular release

2019-07-11 Thread Elijah Newren
Hi Mark, On Thu, Jul 11, 2019 at 12:02 PM Mark T. Ortell wrote: > > Elijah, > > Thanks for the response. I am not clear whether the test_expect_failure means > that the test is trying to do something that should fail and so it is a valid > test case or if it is a test case that is failing, but

[no subject]

2019-07-11 Thread Robert Morgan
subscribe git

Re: your mail

2019-07-11 Thread Kevin Daudt
On Thu, Jul 11, 2019 at 03:11:33PM -0500, Robert Morgan wrote: > subscribe git You need to send this to majord...@vger.kernel.org. Sending it to the git mailing list will not do a lot. Kevin

Re: your mail

2019-07-11 Thread Robert Morgan
Apologies list! Thanks Kevin. That's what I get for troubleshooting plain-text in Gmail and quickly sending a subscribe email before walking out. Robert On Thu, Jul 11, 2019 at 3:18 PM Kevin Daudt wrote: > > On Thu, Jul 11, 2019 at 03:11:33PM -0500, Robert Morgan wrote: > > subscribe git > >

Re: [PATCH v2] transport-helper: enforce atomic in push_refs_with_push

2019-07-11 Thread Emily Shaffer
On Wed, Jul 10, 2019 at 10:44:22AM -0700, Junio C Hamano wrote: > Emily Shaffer writes: > > > +test_expect_success 'push --atomic also prevents branch creation, reports > > collateral' ' > > + # Setup upstream repo - empty for now > > + d=$HTTPD_DOCUMENT_ROOT_PATH/atomic-branches.git && > >

Re: Git Test Coverage Report (Wed. July 10)

2019-07-11 Thread Philip Oakley
On 11/07/2019 03:13, Derrick Stolee wrote: I apologize for the incorrect report sent earlier. I changed something about my workflow, and it changed where build outputs were downloaded and I included an old report. -Stolee --- pu c984b65d414a0da7af629eb476f12b27e13ede0b jch 2bb3fc833

Re: [PATCH v2] transport-helper: enforce atomic in push_refs_with_push

2019-07-11 Thread Junio C Hamano
Emily Shaffer writes: > Hmm. I'd like to argue that part of the requirement is to show the user > what happened; for example, in an earlier iteration I was not > successfully reporting the "collateral damage" refs to the user, even > though they were not being pushed. To that end, I'd rather chec

Re: [PATCH v2] transport-helper: enforce atomic in push_refs_with_push

2019-07-11 Thread Emily Shaffer
On Wed, Jul 10, 2019 at 10:53:30AM -0700, Junio C Hamano wrote: > Junio C Hamano writes: > > >> + # the new branch should not have been created upstream > >> + test_must_fail git -C "$d" rev-parse refs/heads/atomic && > > > > The new branch should not have been created; if this rev-parse > > su

[PATCH v3] transport-helper: enforce atomic in push_refs_with_push

2019-07-11 Thread Emily Shaffer
Teach transport-helper how to notice if skipping a ref during push would violate atomicity on the client side. We notice that a ref would be rejected, and choose not to send it, but don't notice that if the client has asked for --atomic we are violating atomicity if all the other pushes we are send

Re: [PATCH] stash: fix handling removed files with --keep-index

2019-07-11 Thread Junio C Hamano
Thomas Gummerer writes: > Fix that behaviour by using 'git restore' which can faithfully restore > the index and working tree. This also simplifies the code. Hmph. I would have preferred to see we stayed away from 'restore' (and used 'checkout' instead, if you must use a Porcelain command), so

Pull vs push messages

2019-07-11 Thread Michael Kielstra
Hi all, I noticed that git pull reports "Already up to date." but git push reports "Everything up-to-date". (I'm using git 2.20.1, the latest in the Ubuntu repos.) Just for a consistent user experience, would it be worth standardizing on: Hyphenation (up-to-date vs up to date)? Periods at the e

Re: [PATCH v3 0/3] [RFC] Create 'core.featureAdoptionRate' setting to update config defaults

2019-07-11 Thread Jakub Narebski
Derrick Stolee writes: > On 7/1/2019 10:29 AM, Derrick Stolee via GitGitGadget wrote: >> >> Here is a second run at this RFC, which aims to create a "meta" config >> setting that automatically turns on other settings according to a user's >> willingness to trade new Git behavior or new feature ris

Re: Pull vs push messages

2019-07-11 Thread brian m. carlson
On 2019-07-11 at 21:36:50, Michael Kielstra wrote: > Hi all, > > I noticed that git pull reports "Already up to date." but git push > reports "Everything up-to-date". (I'm using git 2.20.1, the latest in > the Ubuntu repos.) Just for a consistent user experience, would it be > worth standardizin

[PATCH] range-diff: fix some 'hdr-check' and sparse warnings

2019-07-11 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Thomas, If you need to re-roll your 'tg/range-diff-output-update' branch, could you please squash (parts) of this into the relevant patches. The first hunk fixes a couple of 'hdr-check' warnings: $ diff nhcout phcout | head 4a5,13 > apply.h:146:22: er

Re: [PATCH v4 00/14] output improvements for git range-diff

2019-07-11 Thread Ramsay Jones
On 11/07/2019 17:08, Thomas Gummerer wrote: > Thanks Junio for the comment on the previous round [1]. This round > reanmes the struct we're using in apply.c to 'struct gitdiff_data', > and updates the commit message of 7/14 to reflect the new name of the > renamed function. > > [1]: https://pu

Re: What's cooking in git.git (Jun 2019, #05; Wed, 19)

2019-07-11 Thread Andrey
25.06.2019, 13:44, "Junio C Hamano" : > Andrey writes: > >>>  Thanks. When I ask "Is this ready", I am asking for opinion(s) from >>>  third-party, not self nomination ;-) >> >>  Ah, ok, sorry. :) >>  I just haven't seen any related comments to any of your previous "What's >> cooking" emails, >>

Re: [PATCH] range-diff: fix some 'hdr-check' and sparse warnings

2019-07-11 Thread Johannes Sixt
Am 12.07.19 um 00:03 schrieb Ramsay Jones: > diff --git a/range-diff.c b/range-diff.c > index ba1e9a4265..0f24a4ad12 100644 > --- a/range-diff.c > +++ b/range-diff.c > @@ -102,7 +102,7 @@ static int read_patches(const char *range, struct > string_list *list) > } > > i

Re: What's cooking in git.git (Jun 2019, #05; Wed, 19)

2019-07-11 Thread Luke Diamand
On Fri, 12 Jul 2019 at 03:20, Andrey wrote: > > 25.06.2019, 13:44, "Junio C Hamano" : > > Andrey writes: > > > >>> Thanks. When I ask "Is this ready", I am asking for opinion(s) from > >>> third-party, not self nomination ;-) > >> > >> Ah, ok, sorry. :) > >> I just haven't seen any related co

Re: Pull vs push messages

2019-07-11 Thread Martin Ågren
On Fri, 12 Jul 2019 at 00:16, brian m. carlson wrote: > > On 2019-07-11 at 21:36:50, Michael Kielstra wrote: > > Hi all, > > > > I noticed that git pull reports "Already up to date." but git push > > reports "Everything up-to-date". (I'm using git 2.20.1, the latest in > > the Ubuntu repos.) Jus