Re: Git Merge Conference Recordings [was: Re: [ANNOUNCE] Git Merge Contributor's Summit Jan 31, 2019, Brussels]

2019-02-20 Thread Jeff King
On Wed, Feb 20, 2019 at 02:03:40PM +0100, Ævar Arnfjörð Bjarmason wrote: > > I wanted to point a colleague of mine to one of the talks. > > Unfortunately I could not find the recordings of the talks anywhere. > > > > Are these available? > > I have no insider knowledge, but can tell you that in p

Re: [GSoC][PATCH 2/2] clone: use dir-iterator to avoid explicit dir traversal

2019-02-20 Thread Matheus Tavares Bernardino
Ok, I think I'm almost there and I should be able to send a v2 on the weekend. But again, a few questions arose while I'm coding v2. Please, see inline. On Tue, Feb 19, 2019 at 8:45 PM Thomas Gummerer wrote: > > On 02/19, Matheus Tavares Bernardino wrote: > > Ok, I agree. I noticed copy_or_link_d

Re: "Submodule registered for path" output with config aliases mixed in

2019-02-20 Thread Jeff King
On Thu, Feb 21, 2019 at 10:47:45AM +0700, Duy Nguyen wrote: > > > I managed to identify where that garbage injections come from: > > > from git aliases I've got configured [1] > > > > > > Could anyone explain what is happening here? > > > Is there anything wrong with my ~/.gitconfig [1] ? > > > >

Re: "Submodule registered for path" output with config aliases mixed in

2019-02-20 Thread Duy Nguyen
On Thu, Feb 21, 2019 at 9:19 AM brian m. carlson wrote: > > On Tue, Feb 19, 2019 at 05:51:05PM +0100, Mateusz Loskot wrote: > > Hi, > > > > $ git version > > git version 2.20.1.windows.1 > > > > I'm running `git clone --recurse-submodules https://XXX` > > The command seems to run well and complete

Re: "Submodule registered for path" output with config aliases mixed in

2019-02-20 Thread brian m. carlson
On Tue, Feb 19, 2019 at 05:51:05PM +0100, Mateusz Loskot wrote: > Hi, > > $ git version > git version 2.20.1.windows.1 > > I'm running `git clone --recurse-submodules https://XXX` > The command seems to run well and completes with success. > > However, I noticed strange output from git: > > ```

Re: [WIP RFC 2/5] Documentation: add Packfile URIs design doc

2019-02-20 Thread brian m. carlson
On Tue, Feb 19, 2019 at 02:44:31PM +0100, Ævar Arnfjörð Bjarmason wrote: > > On Tue, Dec 04 2018, brian m. carlson wrote: > > First, I'd like to see a section (and a bit in the implementation) > > requiring HTTPS if the original protocol is secure (SSH or HTTPS). > > Allowing the server to downgra

[RFC PATCH] http: use --stdin and --keep when downloading pack

2019-02-20 Thread Jonathan Tan
When Git fetches a pack using dumb HTTP, it does at least 2 things differently from when it fetches using fetch-pack or receive-pack: (1) it reuses the server's name for the packfile (which incorporates a hash) for the packfile, and (2) it does not create a .keep file to avoid race conditions with

[RFC PATCH 1/5] t9300: demonstrate bug with get-mark and empty orphan commits

2019-02-20 Thread Elijah Newren
Signed-off-by: Elijah Newren --- Documentation/git-fast-import.txt | 7 +- t/t9300-fast-import.sh| 37 +++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index 43ab3

[RFC PATCH 4/5] fast-import: only allow cat-blob requests where it makes sense

2019-02-20 Thread Elijah Newren
In commit 777f80d7429b ("fast-import: Allow cat-blob requests at arbitrary points in stream", 2010-11-28), fast-import started allowing cat-blob commands to appear on the start of any line except in the middle of a "data" command. It could be in the middle of various directives that were part of a

[RFC PATCH 0/5] Fix some fast-import parsing issues

2019-02-20 Thread Elijah Newren
I found a few issues with parsing in fast-import (dating back to git-2.6.0). I was thrown off track for a while by the fact that the .git/fast_import_crash_$PID file erroneously claimed that the penultimate command it read was somehow truncated; e.g. for input of the form: commit refs/heads/m

[RFC PATCH 2/5] git-fast-import.txt: fix wording about where ls command can appear

2019-02-20 Thread Elijah Newren
The docs claimed `ls` commands could appear almost anywhere, but the code told a different story. Modify the docs to match the code. Signed-off-by: Elijah Newren --- Documentation/git-fast-import.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-fast-

[RFC PATCH 5/5] fast-import: fix erroneous handling of get-mark with empty orphan commits

2019-02-20 Thread Elijah Newren
When get-mark was introduced in commit 28c7b1f7b7b7 ("fast-import: add a get-mark command", 2015-07-01), it followed the precedent of the cat-blob command to be allowed on any line other than in the middle of a data directive; see commit 777f80d7429b ("fast-import: Allow cat-blob requests at arbitr

[RFC PATCH 3/5] fast-import: check most prominent commands first

2019-02-20 Thread Elijah Newren
This is not a very important change, and one that I expect to have no performance impact whatsoever, but reading the code bothered me. The parsing of command types in cmd_main() mostly runs in order of most common to least common commands; sure, it's hard to say for sure what the most common are w

Re: [BUG] ls-files showing deleted files (unchecked lstat return value)

2019-02-20 Thread Junio C Hamano
SZEDER Gábor writes: > On Sun, Feb 17, 2019 at 08:49:39AM -0500, Joe Ranieri wrote: >> "git ls-files -m" can show deleted files, despite -d not having been >> specified. > > To my understanding that's intentional: a deleted file is considered > modified, because its content clearly doesn't match

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Junio C Hamano
Duy Nguyen writes: > There is a trade off somewhere. "new user first" should not come at > the cost for more experienced users. Probably. Nobody will stay being newbie forever. > Making "git checkout/merge" abort while it's working before breaks > scripts. And requiring to mark trashable files

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Junio C Hamano
Duy Nguyen writes: > - surprises sometimes, but in known classes. This is the main use > case of backup log, where I may accidentally do "git commit > -amsomething" after carefully preparing the index. Saving overwritten > files by merge/checkout could be done here as an alternative to > "garbag

Re: [PATCH v12 18/26] stash: convert push to builtin

2019-02-20 Thread Thomas Gummerer
On 02/19, Junio C Hamano wrote: > Thomas Gummerer writes: > > >> Now, I seriously believe that we missed the best time to move > >> ps/stash-in-c into `next` for cooking. The best time would have been just > >> ... > >> Anyway, that's my plan for now. > > > > I must say I am not very happy about

Re: [PATCH v2 00/21] nd/diff-parseopt part 2

2019-02-20 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > v2 changes the subject line to help clarify in "git log --oneline" Some were not straight-forward converison, but nevertheless looked correct. Thanks. > > Nguyễn Thái Ngọc Duy (21): > diff-parseopt: convert --patch-with-raw > diff-parseopt: convert --numstat

Re: [PATCH v12 18/26] stash: convert push to builtin

2019-02-20 Thread Johannes Schindelin
Hi Junio, On Tue, 19 Feb 2019, Junio C Hamano wrote: > Thomas Gummerer writes: > > >> Now, I seriously believe that we missed the best time to move > >> ps/stash-in-c into `next` for cooking. The best time would have been just > >> ... > >> Anyway, that's my plan for now. > > > > I must say I a

Re: [PATCH v3 10/21] diff-parseopt: convert --stat*

2019-02-20 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > -static int stat_opt(struct diff_options *options, const char **av) > +static int diff_opt_stat(const struct option *opt, const char *value, int > unset) > { > - const char *arg = av[0]; > - char *end; > + struct diff_options *options = opt->value; >

Re: [PATCH v12 18/26] stash: convert push to builtin

2019-02-20 Thread Johannes Schindelin
Hi Junio, On Tue, 19 Feb 2019, Junio C Hamano wrote: > Johannes Schindelin writes: > > >> > diff --git a/builtin/stash--helper.c b/builtin/stash--helper.c > >> > index c77f62c895..3dab488bd6 100644 > >> > --- a/builtin/stash--helper.c > >> > +++ b/builtin/stash--helper.c > >> > @@ -231,6 +231,7

Re: [ANNOUNCE] Git v2.21.0-rc2

2019-02-20 Thread Johannes Schindelin
Hi Junio, On Wed, 20 Feb 2019, Junio C Hamano wrote: > Hopefully Dscho's Azure thing would also be happy with one less use > of Perl script. My "Azure thing" does not time out anymore, indeed! Thank you so much, Junio, Dscho

Re: [PATCH v3 01/21] diff-parseopt: convert --patch-with-raw

2019-02-20 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Signed-off-by: Nguyễn Thái Ngọc Duy > Signed-off-by: Junio C Hamano > --- > diff.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/diff.c b/diff.c > index 4bc9df7362..12e333c67f 100644 > --- a/diff.c > +++ b/diff.c > @@ -4901,6

Re: [ANNOUNCE] Git v2.21.0-rc1 (NonStop Results) - Good News

2019-02-20 Thread Johannes Schindelin
Hi Max, On Tue, 19 Feb 2019, Max Kirillov wrote: > On Mon, Feb 18, 2019 at 10:57:13PM +0100, Johannes Schindelin wrote: > > I have to take that assessment back. So sad. > > > > After that build, I cherry-picked the commit on top of shears/pu (which is > > Git for Windows' ever-green branch that

Re: [PATCH v2] git-gui: Handle Ctrl + BS/Del in the commit msg

2019-02-20 Thread Junio C Hamano
Ismael Luceno writes: > - Control+BackSpace: Delete word to the left of the cursor. > - Control+Delete : Delete word to the right of the cursor. > > Originally introduced by BRIEF and Turbo Vision between 1985 and 1992, > they were adopted by most CUA-Compliant UIs, including those of: OS/2, >

Re: [RFE] Demilitarize Documentation (was RE: Delivery Status Notification (Failure))

2019-02-20 Thread Johannes Schindelin
Hi Michal, On Tue, 19 Feb 2019, Michal Suchánek wrote: > It is very poor reply to critique to say that better alternative should > be provided. Well, then we are at an impasse here. Ciao, Johannes

Re: [ANNOUNCE] Git v2.21.0-rc2

2019-02-20 Thread Junio C Hamano
"Randall S. Becker" writes: > On February 19, 2019 18:29, Junio C Hamano wrote: >> A release candidate Git v2.21.0-rc2 is now available for testing at the usual >> places. It is comprised of 474 non-merge commits since v2.20.0, contributed >> by 61 people, 16 of which are new faces. > > Thanks.

Re: [PATCH v3 2/2] setup: don't fail if commondir reference is deleted.

2019-02-20 Thread Eric Sunshine
On Wed, Feb 20, 2019 at 12:16 PM Michal Suchánek wrote: > On Wed, 20 Feb 2019 11:55:46 -0500 > Eric Sunshine wrote: > > On Wed, Feb 20, 2019 at 11:17 AM Michal Suchanek wrote: > > > Apparently it can happen that stat() claims there is a commondir file but > > > when > > > trying to open the fil

Re: Feature Request git clone shallow-include

2019-02-20 Thread Joe Enzminger
That is correct. What you suggest is actually what I tried (using sha-1 syntax). For my purposes, excluding the tag's parent's but including the tag is sufficient, but if is fairly straightforward to extend support to the other use cases I'm sure someone would find is useful. Joe On Tue, Feb 1

Re: [PATCH v3 1/2] worktree: fix worktree add race.

2019-02-20 Thread Michal Suchánek
On Wed, 20 Feb 2019 11:34:54 -0500 Eric Sunshine wrote: > On Wed, Feb 20, 2019 at 11:17 AM Michal Suchanek wrote: > > Git runs a stat loop to find a worktree name that's available and then does > > mkdir on the found name. Turn it to mkdir loop to avoid another invocation > > of > > worktree ad

Re: [PATCH v3 2/2] setup: don't fail if commondir reference is deleted.

2019-02-20 Thread Michal Suchánek
On Wed, 20 Feb 2019 11:55:46 -0500 Eric Sunshine wrote: > On Wed, Feb 20, 2019 at 11:17 AM Michal Suchanek wrote: > > Apparently it can happen that stat() claims there is a commondir file but > > when > > trying to open the file it is missing. > > Under what circumstances? I would like to k

Re: [PATCH v3 2/2] setup: don't fail if commondir reference is deleted.

2019-02-20 Thread Eric Sunshine
On Wed, Feb 20, 2019 at 11:17 AM Michal Suchanek wrote: > Apparently it can happen that stat() claims there is a commondir file but when > trying to open the file it is missing. Under what circumstances? > Another even rarer issue is that the file might be zero size because another > process ini

Re: [PATCH v6 2/3] commit-graph: fix buffer read-overflow

2019-02-20 Thread SZEDER Gábor
On Wed, Feb 20, 2019 at 03:55:58PM +0100, Ævar Arnfjörð Bjarmason wrote: > > @@ -376,11 +377,15 @@ corrupt_graph_and_verify() { > > data="${2:-\0}" > > grepstr=$3 > > cd "$TRASH_DIRECTORY/full" && > > + orig_size=$(wc -c < $objdir/info/commit-graph) && > > + zero_pos=${4:-${orig_siz

Re: [PATCH v3 1/2] worktree: fix worktree add race.

2019-02-20 Thread Eric Sunshine
On Wed, Feb 20, 2019 at 11:17 AM Michal Suchanek wrote: > Git runs a stat loop to find a worktree name that's available and then does > mkdir on the found name. Turn it to mkdir loop to avoid another invocation of > worktree add finding the same free name and creating the directory first. > > Sign

Re: "Submodule registered for path" output with config aliases mixed in

2019-02-20 Thread Mateusz Loskot
Hmm, sorry for pushing, but no ideas, really? Doesn't it seem like a bug? Matz On Tue, 19 Feb 2019 at 17:51, Mateusz Loskot wrote: > > Hi, > > $ git version > git version 2.20.1.windows.1 > > I'm running `git clone --recurse-submodules https://...` > The command seems to run well and completes w

[PATCH v3 1/2] worktree: fix worktree add race.

2019-02-20 Thread Michal Suchanek
Git runs a stat loop to find a worktree name that's available and then does mkdir on the found name. Turn it to mkdir loop to avoid another invocation of worktree add finding the same free name and creating the directory first. Signed-off-by: Michal Suchanek --- v2: - simplify loop exit condition

[PATCH v3 2/2] setup: don't fail if commondir reference is deleted.

2019-02-20 Thread Michal Suchanek
Apparently it can happen that stat() claims there is a commondir file but when trying to open the file it is missing. Another even rarer issue is that the file might be zero size because another process initializing a worktree opened the file but has not written is content yet. When any of this h

Re: [PATCH v6 2/3] commit-graph: fix buffer read-overflow

2019-02-20 Thread Ævar Arnfjörð Bjarmason
On Tue, Jan 15 2019, Josh Steadmon wrote: > fuzz-commit-graph identified a case where Git will read past the end of > a buffer containing a commit graph if the graph's header has an > incorrect chunk count. A simple bounds check in parse_commit_graph() > prevents this. This has a 2.21 regressio

Re: git gc fails with "unable to resolve reference" for worktree

2019-02-20 Thread hi-angel
I see, thanks! On Пн, Feb 18, 2019 at 6:18 PM, Duy Nguyen wrote: On Mon, Feb 18, 2019 at 10:09 PM wrote: On Пн, Feb 18, 2019 at 6:02 PM, Duy Nguyen wrote: > On Mon, Feb 18, 2019 at 9:44 PM wrote: >> >> # Steps to reproduce (in terms of terminal commands) >> >> $ mkdir foo

RE: [Breakage] t0021 Subtest 15 v2.21.0.-rc2 on NonStop.

2019-02-20 Thread Randall S. Becker
On February 20, 2019 7:53, SZEDER Gábor wrote: > On Wed, Feb 20, 2019 at 07:12:49AM -0500, Randall S. Becker wrote: > > Sadly I have to report that this subtest breaks on NonStop as of > > v2.21.0-rc2. It succeeds when run with --verbose, but not without, > > making this difficult to diagnose. > >

Re: Git Merge Conference Recordings [was: Re: [ANNOUNCE] Git Merge Contributor's Summit Jan 31, 2019, Brussels]

2019-02-20 Thread Ævar Arnfjörð Bjarmason
On Wed, Feb 20 2019, Thomas Braun wrote: > Hi Jeff, > > I wanted to point a colleague of mine to one of the talks. Unfortunately I > could not find the recordings of the talks anywhere. > > Are these available? I have no insider knowledge, but can tell you that in past years it's taken GitHub

Re: [Breakage] t0021 Subtest 15 v2.21.0.-rc2 on NonStop.

2019-02-20 Thread SZEDER Gábor
On Wed, Feb 20, 2019 at 07:12:49AM -0500, Randall S. Becker wrote: > Sadly I have to report that this subtest breaks on NonStop as of > v2.21.0-rc2. It succeeds when run with --verbose, but not without, > making this difficult to diagnose. That particular test is known to be flaky, see: https:

Git Merge Conference Recordings [was: Re: [ANNOUNCE] Git Merge Contributor's Summit Jan 31, 2019, Brussels]

2019-02-20 Thread Thomas Braun
Hi Jeff, I wanted to point a colleague of mine to one of the talks. Unfortunately I could not find the recordings of the talks anywhere. Are these available? Thanks, Thomas > Jeff King hat am 9. November 2018 um 11:42 geschrieben: > > > Git Merge 2019 is happening on February 1st. There wil

Very urgent AREAS OF INVESTMENT.

2019-02-20 Thread John Cavedo
Sir/madam,I humbly seek your consent for an investment in your Country.I need your good advice and suggest areas of sustainable and viable economy that will be of great value to us.More details of this will be sent following your INVESTMENT suggestions.Regards,

[Breakage] t0021 Subtest 15 v2.21.0.-rc2 on NonStop.

2019-02-20 Thread Randall S. Becker
Sadly I have to report that this subtest breaks on NonStop as of v2.21.0-rc2. It succeeds when run with --verbose, but not without, making this difficult to diagnose. Sincerely, Randall

[PATCH v5 04/10] add-interactive.c: implement list_and_choose

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic This is one of the two functions translated from Perl script, besides list_modified that will be used by *_cmd functions (including status) to collect index/worktree changes, list those changes and let user make a choice. At this point, it only prints worktree and index chan

[PATCH v5 07/10] add-interactive.c: add support for list_only option

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic If list_only option is not set, (i.e. we want to pick elements from the list, not just display them), highlight unique prefixes of list elements and let user make a choice as shown in prompt_help_cmd and singleton_prompt_help_cmd. Input that is expected from user is full lin

[PATCH v5 08/10] add-interactive.c: implement show-help command

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic Implement show-help command in add-interactive.c and use it in builtin add--helper.c. Use command name "show-help" instead of "help": add--helper is builtin, hence add--helper --help would be intercepted by handle_builtin and re-routed to the help command, without ever calli

[PATCH v5 09/10] t3701-add-interactive: test add_i_show_help()

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic Add test to t3701-add-interactive to verify that add_i_show_help() outputs expected content. Also, add it before changing git-add--interactive.perl's help_cmd to demonstrate that there are no changes introduced by the conversion to C. Prefix git add -i call with GIT_PAGER_IN

[PATCH v5 10/10] add--interactive.perl: use add--helper --show-help for help_cmd

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic Change help_cmd sub in git-add--interactive.perl to use show-help command from builtin add--helper. If an error occurs, it will be reported, but the Perl script will not exit, since the add--helper is called within an eval block. Just like the change where the Perl script c

[PATCH v5 03/10] add-interactive.c: implement list_modified

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic Implement list_modified from Perl, which will be used by most of the *_cmd functions, including status in the following commit. It lists a numstat comparing changed files between a) the worktree and the index; b) the index and the HEAD. To do so, we use run_diff_index() and

[PATCH v5 02/10] add--helper: create builtin helper for interactive add

2019-02-20 Thread Daniel Ferreira via GitGitGadget
From: Daniel Ferreira Create a builtin helper for git-add--interactive, which at this point is not doing anything. This is the first step in an effort to convert git-add--interactive.perl to a C builtin, in search for better portability, expressibility and performance (specially on non-POSIX sys

[PATCH v5 05/10] add-interactive.c: implement status command

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic Implement add --interactive's status command in add-interactive.c and use it in builtin add--helper.c. This is the first interactive add command implemented in C of those anticipated by the previous commit, which introduced the add--helper built-in. Implement additional help

[PATCH v5 06/10] add--interactive.perl: use add--helper --status for status_cmd

2019-02-20 Thread Daniel Ferreira via GitGitGadget
From: Daniel Ferreira Call the newly introduced add--helper builtin in status_cmd() instead of relying on add--interactive's Perl functions to print the numstat. If an error occurs, it will be reported, but the Perl script will not exit, since the add--helper is called within an eval block. As

[PATCH v5 01/10] diff: export diffstat interface

2019-02-20 Thread Daniel Ferreira via GitGitGadget
From: Daniel Ferreira Make the diffstat interface (namely, the diffstat_t struct and compute_diffstat) no longer be internal to diff.c and allow it to be used by other parts of git. This is helpful for code that may want to easily extract information from files using the diff machinery, while fl

[PATCH v5 00/10] Turn git add-i into built-in

2019-02-20 Thread Slavica Đukić via GitGitGadget
This is the first version of a patch series to start porting git-add--interactive from Perl to C. Daniel Ferreira's patch series used as a head start: https://public-inbox.org/git/1494907234-28903-1-git-send-email-bnm...@gmail.com/t/#u Changes since v4: * rename print_modified to list_modifed *

Re: [RFE] Demilitarize Documentation (was RE: Delivery Status Notification (Failure))

2019-02-20 Thread SZEDER Gábor
On Tue, Feb 19, 2019 at 03:58:00PM +0100, Johannes Schindelin wrote: > On Tue, 19 Feb 2019, SZEDER Gábor wrote: > > > On Tue, Feb 19, 2019 at 09:02:43AM +0100, Senol Yazici wrote: > > > 1. Dictator > > > Concern: "Bad" connotation. > > > > "Benevolent dictator" is a well-established term in open

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Clemens Buchacher
On February 20, 2019 10:41:51 AM GMT+01:00, Duy Nguyen wrote: >Making "git checkout/merge" abort while it's working before breaks >scripts. Change is always a trade-off. We should not reject change without considering the merits. Once we agree on the desired state, we can think about the mi

Re: [PATCH v4 5/8] git-rebase, sequencer: extend --quiet option for the interactive machinery

2019-02-20 Thread Phillip Wood
On 22/01/2019 20:39, Junio C Hamano wrote: > Elijah Newren writes: > >> Also, I have a fuzzy memory of discussing a very similar case with >> some rebase-oriented option and its on-disk representation, where the >> concern was more about users upgrading git versions during an >> incomplete rebase

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Ævar Arnfjörð Bjarmason
On Wed, Feb 20 2019, Duy Nguyen wrote: > On Wed, Feb 20, 2019 at 4:19 PM Ævar Arnfjörð Bjarmason > wrote: >> > I personally do not believe in "backup log"; if we can screw up and >> > can fail to stop an operation that must avoid losing info, then we >> > can screw up the same way and fail to d

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Steffen Jost
On 20.02.19 10:19, Ævar Arnfjörð Bjarmason wrote: Most git users are at the level of only knowing very basic add/commit/pull/push command interaction. I feel strongly that we need to make our tools safe to use by default, and not require some relatively advanced "precious"/attribute facility to b

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Duy Nguyen
On Wed, Feb 20, 2019 at 4:19 PM Ævar Arnfjörð Bjarmason wrote: > > I personally do not believe in "backup log"; if we can screw up and > > can fail to stop an operation that must avoid losing info, then we > > can screw up the same way and fail to design and implement "backup" > > to save info bef

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Ævar Arnfjörð Bjarmason
On Tue, Feb 19 2019, Junio C Hamano wrote: > Duy Nguyen writes: > >> On Sun, Feb 17, 2019 at 2:36 AM Ævar Arnfjörð Bjarmason >> wrote: >>> >>> >>> On Sat, Feb 16 2019, Nguyễn Thái Ngọc Duy wrote: >>> >>> [Re-CC some people involved the last time around] >>> >>> > A new attribute "precious" is

Re: [PATCH 1/1] Introduce "precious" file concept

2019-02-20 Thread Clemens Buchacher
On February 20, 2019 2:35:41 AM GMT+01:00, Duy Nguyen wrote: >On Wed, Feb 20, 2019 at 1:08 AM Junio C Hamano >wrote: >> >> Duy Nguyen writes: >> >> > On Sun, Feb 17, 2019 at 2:36 AM Ævar Arnfjörð Bjarmason >> > wrote: >> >> >> >> >> >> On Sat, Feb 16 2019, Nguyễn Thái Ngọc Duy wrote: >> >> >