Re: Finer timestamps and serialization in git

2019-05-20 Thread Michal Suchánek
On Mon, 20 May 2019 10:14:17 -0400 "Eric S. Raymond" wrote: > Jakub Narebski : > > > What "commits that follow it?" By hypothesis, the incoming commit's > > > timestamp is bumped (if it's bumped) when it's first added to a branch > > > or branches, before there are following commits in the DAG.

Re: Finer timestamps and serialization in git

2019-05-20 Thread Michal Suchánek
On Wed, 15 May 2019 21:25:46 -0400 Derrick Stolee wrote: > On 5/15/2019 8:28 PM, Eric S. Raymond wrote: > > Derrick Stolee : > >> What problem are you trying to solve where commit date is important? > > B. Unique canonical form of import-stream representation. > > > > Reposurgeon is a very

Re: SHA-accelerated Git

2019-06-02 Thread Michal Suchánek
Hello, On Sun, 2 Jun 2019 06:43:07 -0400 Jeffrey Walton wrote: > Hi Everyone, > > I have a lot of experience with cutting in SHA acceleration. I have no > experience with Git. sha1 is dead. Git is planning to move away from it. It will not happen overnight but it probably does not make sense t

rebase / am separation problem

2019-06-10 Thread Michal Suchánek
Hello, there is an issue with rebase vs am separation. I am using git 2.20.1 and just observed this behavior: - rebase started ( possibly with previous am in progress on different branch - not known) - rebase stopped, used am --skip to continue - renase was not able to finish Does anybod

Re: Suggestion: git clone should warn if repository has submodules

2019-08-06 Thread Michal Suchánek
On Tue, 6 Aug 2019 17:54:20 +0200 Mateusz Loskot wrote: > On Tue, 6 Aug 2019 at 16:04, Jason Sewall wrote: > > > > Submodules are great, and I used them at work. The problem is, people > > wind up cloning my repos without --recursive and then nothing works > > for them, because the submodules w

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

2019-02-15 Thread Michal Suchánek
On Fri, 15 Feb 2019 10:59:33 -0800 Junio C Hamano wrote: > Michal Suchanek writes: > > > 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

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

2019-02-18 Thread Michal Suchánek
On Sun, 17 Feb 2019 02:14:14 -0500 Eric Sunshine wrote: > On Fri, Feb 15, 2019 at 1:16 PM Michal Suchanek wrote: > > When adding wotktrees git can die in get_common_dir_noenv while > > examining existing worktrees because the commondir file does not exist. > > Handle ENOENT so adding a worktree

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

2019-02-18 Thread Michal Suchánek
Hello, On Mon, 18 Feb 2019 11:51:57 -0500 "Randall S. Becker" wrote: > On February 18, 2019 11:13, I wrote: > > To: 'Senol Yazici' ; git@vger.kernel.org > > Subject: RE: Delivery Status Notification (Failure) > > > > On February 18, 2019 5:47, Senol Yazici > > > I just stumbled over following

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

2019-02-19 Thread Michal Suchánek
On Tue, 19 Feb 2019 09:02:43 +0100 Senol Yazici wrote: > Dear all, > > Thank you for the quick response and apologize my late reply (good > morning from Europe). > > I understand that well "established" concepts might make it easier > grasping concepts. > > My concerns towards using these part

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

2019-02-19 Thread Michal Suchánek
On Tue, 19 Feb 2019 12:19:51 +0100 Ævar Arnfjörð Bjarmason wrote: > On Tue, Feb 19 2019, Senol Yazici wrote: > > 2) Any piece of software or technical tool is going to unavoidably need > to use some amount of jargon, or words that are lifted from a more > general vocabulary and intende

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

2019-02-19 Thread Michal Suchánek
On Tue, 19 Feb 2019 14:52:40 +0100 Christian Couder wrote: > On Tue, Feb 19, 2019 at 12:23 PM Ævar Arnfjörð Bjarmason > wrote: > > > > Two things: > > > > 1) Whatever anyone's abstract position on the wording of our > > documentation, either the one stored in git.git or at > > https://g

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

2019-02-19 Thread Michal Suchánek
On Tue, 19 Feb 2019 15:58:00 +0100 (STD) Johannes Schindelin wrote: > Hi Gábor, > > 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-estab

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

2019-02-19 Thread Michal Suchánek
On Tue, 19 Feb 2019 15:47:08 +0100 (STD) Johannes Schindelin wrote: > Hi Michal, > > On Tue, 19 Feb 2019, Michal Suchánek wrote: > > > On Tue, 19 Feb 2019 09:02:43 +0100 > > Senol Yazici wrote: > > > > > Suggestion for substitution: Assistant or assi

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 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-21 Thread Michal Suchánek
On Thu, 21 Feb 2019 04:27:21 -0500 Eric Sunshine wrote: > On Wed, Feb 20, 2019 at 1:35 PM Eric Sunshine wrote: > > 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: > &g

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

2019-02-21 Thread Michal Suchánek
On Wed, 20 Feb 2019 13:35:57 -0500 Eric Sunshine wrote: > 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: > > > Following this change, that particular validation no longer takes > > > p

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

2019-02-21 Thread Michal Suchánek
On Thu, 21 Feb 2019 17:50:38 +0700 Duy Nguyen wrote: > On Tue, Feb 19, 2019 at 12:05 AM Michal Suchanek wrote: > > > > When adding wotktrees git can die in get_common_dir_noenv while > > examining existing worktrees because the commondir file does not exist. > > Rather than testing if the file e

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

2019-02-21 Thread Michal Suchánek
On Thu, 21 Feb 2019 12:12:28 -0500 Eric Sunshine wrote: > On Thu, Feb 21, 2019 at 12:07 PM Phillip Wood > wrote: > > On 21/02/2019 13:50, Michal Suchánek wrote: > > >> On Tue, Feb 19, 2019 at 12:05 AM Michal Suchanek > > >> wrote: > > >

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 08:04:08 -0500 "Randall S. Becker" wrote: > Hi Git Team, > > I have to admit being perplexed by this one. I have been asked to support > the Shift-JIS character set in file contents, comments, and logs, for a > partner of mine. I know there are a few ways to do this, but I'm

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 10:54:23 -0500 "Randall S. Becker" wrote: > On February 27, 2019 9:09, Michal Suchánek wrote: > > On Wed, 27 Feb 2019 08:04:08 -0500 > > "Randall S. Becker" wrote: > > > > > Hi Git Team, > > > > > &g

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 11:19:33 -0500 "Randall S. Becker" wrote: > On February 27, 2019 11:11, Michal Suchánek wrote: > > On Wed, 27 Feb 2019 10:54:23 -0500 > > "Randall S. Becker" wrote: > > > > > On February 27, 2019 9:09, Michal Suchánek w

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 11:33:47 -0500 "Randall S. Becker" wrote: > On February 27, 2019 11:29 Michal Suchánek wrote: > > On Wed, 27 Feb 2019 11:19:33 -0500 > > "Randall S. Becker" wrote: > > > > > On February 27, 2019 11:11, Michal Suchánek w

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 12:03:58 -0500 "Randall S. Becker" wrote: > On February 27, 2019 11:52, Michal Suchánek wrote: > > To: Randall S. Becker > > Cc: git@vger.kernel.org > > Subject: Re: Need multibyte advice - Shift-JIS > > > > On Wed, 27 Feb 2019 11

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 12:38:06 -0500 "Randall S. Becker" wrote: > On February 27, 2019 12:15, Michal Suchánek wrote: > > To: Randall S. Becker > > Cc: git@vger.kernel.org > > Subject: Re: Need multibyte advice - Shift-JIS > > > > On Wed, 27 Feb 2019 12

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 12:59:15 -0500 "Randall S. Becker" wrote: > On February 27, 2019 12:51, Michal Suchánek wrote: > > To: Randall S. Becker > > Cc: git@vger.kernel.org > > Subject: Re: Need multibyte advice - Shift-JIS > > > I'm sorry if I was not

Re: Need multibyte advice - Shift-JIS

2019-02-27 Thread Michal Suchánek
On Wed, 27 Feb 2019 13:50:18 -0500 "Randall S. Becker" wrote: > On February 27, 2019 13:18, Michal Suchánek wrote: > > On Wed, 27 Feb 2019 12:59:15 -0500 > > "Randall S. Becker" wrote: > > > > > On February 27, 2019 12:51, Michal Suchánek

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

2019-03-04 Thread Michal Suchánek
Hello, On Thu, 21 Feb 2019 17:27:04 + Phillip Wood wrote: > Hi Eric > > On 21/02/2019 17:12, Eric Sunshine wrote: > > On Thu, Feb 21, 2019 at 12:07 PM Phillip Wood > > wrote: > >> On 21/02/2019 13:50, Michal Suchánek wrote: > >>>> On

Re: Deprecating git diff ..; dealing with other ranges

2019-03-18 Thread Michal Suchánek
On Mon, 18 Mar 2019 10:07:08 -0700 Elijah Newren wrote: > On Tue, Mar 12, 2019 at 2:01 PM Ævar Arnfjörð Bjarmason > wrote: > > On Tue, Mar 12 2019, Andreas Schwab wrote: > > > On Mär 12 2019, Junio C Hamano wrote: > > > > > >> I however think it may be worth making sure that our docs do not

Re: [BUG] You can't have single quote in your username

2019-08-23 Thread Michal Suchánek
On Fri, 23 Aug 2019 09:20:47 +0200 Giuseppe Crinò wrote: > On Thu, Aug 22, 2019 at 6:24 PM Junio C Hamano wrote: > > The logic there exists in order to remove cruft around the name on a > > typical e-mail header (remember, most of the very core-ish part of > > the Git was written and got solidif

Re: git slow unless piped to cat

2019-08-27 Thread Michal Suchánek
On Tue, 27 Aug 2019 12:56:38 +0200 Uwe Kleine-König wrote: > Hello, > > On Tue, Aug 27, 2019 at 12:33:09PM +0200, SZEDER Gábor wrote: > > On Tue, Aug 27, 2019 at 12:04:27PM +0200, Uwe Kleine-König wrote: > > > I'm a bit surprised that the default for --decorate depends on the > > > out

Re: [BUG] You can't have single quote in your username

2019-08-27 Thread Michal Suchánek
On Tue, 27 Aug 2019 13:51:49 + "Giuseppe Crino'" wrote: > On Mon, Aug 26, 2019 at 03:14:55PM -0400, Jeff King wrote: > > So it might make sense to push these rules into "git mailinfo" instead > > of applying them everywhere. But we'd still need something at least for > > GECOS, where "Your Na

Re: [Feature Request] Option to make .git not read-only in cloned repos

2019-08-30 Thread Michal Suchánek
On Fri, 30 Aug 2019 09:38:11 -0700 Junio C Hamano wrote: > Albert Vaca Cintora writes: > > > On Tue, Aug 27, 2019 at 9:35 PM Junio C Hamano wrote: > >> > >> Ah, your "rm" command needs to learn "-f" option, too, then? > > > > The whole point of this thread was to remove the need of -f forc

Re: [BUG] You can't have single quote in your username

2019-09-02 Thread Michal Suchánek
On Mon, 02 Sep 2019 12:25:37 -0700 Junio C Hamano wrote: > Jeff King writes: > > > But it still risks losing a case where some code path relies on the crud > > cleanup for odd cases (mismatched delimiters, or interleaved delimiters, > > or non-delimiter crud mixed in with delimiters). > > ... >

Re: [BUG] You can't have single quote in your username

2019-09-03 Thread Michal Suchánek
do that instead. > > +1 to let the sleeping dog lie. When you say we should encourage people > to step outside US-ASCII what do you mean by that? > > On Mon, Sep 02, 2019 at 09:50:48PM +0200, Michal Suchánek wrote: > > As much as I would love to agree Windows is dragging us

git crash in range-diff

2019-10-02 Thread Michal Suchánek
Hello, I get a crash in range-diff. It used to work in the past but I don't use it often so can't really say if this is a regression or a particular data triggering the crash. It is not 100% broken - it woks on some other ranges. Thanks Michal Script started on 2019-09-23 12:15:54+0200 [0;32

Re: git crash in range-diff

2019-10-02 Thread Michal Suchánek
On Wed, Oct 02, 2019 at 11:41:53AM +0200, Johannes Schindelin wrote: > Hi Michal, > > On Wed, 2 Oct 2019, Michal Suchánek wrote: > > > I get a crash in range-diff. It used to work in the past but I don't use > > it often so can't really say if this is a r

Re: [PATCH 1/1] range-diff: internally force `diff.noprefix=false`

2019-10-02 Thread Michal Suchánek
the config setting > `diff.noprefix=true`. As `range-diff` is not prepared for that > situation, this will cause a segmentation fault. > > Let's avoid that by forcing `diff.noprefix=false` just for that all to > `git log` that generates the diffs that `range-diff` wants to parse. > >

git send-email sets date

2018-01-27 Thread Michal Suchánek
Hello, git send-email sets the message date to author date. This is wrong because the message will most likely not get delivered when the author date differs from current time. It might give slightly better results with commit date instead of author date but can't is just skip that header and lea