From: Junio C Hamano <hidden> Date: 2021-02-17 18:57:20
ZheNing Hu [off-list ref] writes:
Denton Liu [off-list ref] 于2021年2月17日周三 下午7:14写道:
quoted
Hi ZheNing,
On Wed, Feb 17, 2021 at 12:12:10PM +0800, ZheNing Hu wrote:
quoted
Oh, I am sorry.
Then I only need to squash the two commit, right?
I've never used GGG before but I suspect that in your GitHub PR, you
need to set the PR base to 'master' instead of 'jc/diffcore-rotate'.
CCing the creator of GGG, please correct me if I'm wrong.
-Denton
Hi Denton Liu,
You mean I should cherry-pick Junio's patch to my topic branch, right?
Thanks, Denton, for helping.
ZheNing, the end result we want to see on the list is just a single
patch, your 2/2 alone, that says "this patch depends on the
diffcore-rotate topic" _under_ its "---" three-dash lines (where
"meta" comments on the patch to explain how it fits the rest of the
world, etc.). As a single patch "topic", there won't be even 1/1
marking, i.e. something like:
Subject: [PATCH v6] difftool.c: learn a new way start at specified file
From: ZheNing Hu [off-list ref]
`git difftool` only allow us to ...
...
Teach the command an option '--skip-to=<path>' to allow the
user to say that diffs for earlier paths are not interesting
(because they were already seen in an earlier session) and
start this session with the named path.
Signed-off-by: ZheNing Hu [off-list ref]
---
* An earlier round tried to implement the skipping all in the
GIT_EXTERNAL_DIFF, but this round takes advantage of the new
"diff --skip-to=<path>" feature implemented by gitster
(therefore, the patch depends on that topic).
Documentation/git-difftool.txt | 10 ++++++++++
t/t7800-difftool.sh | 30 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
... patch here ...
I do not know how to achieve that end result with GGG and I do not
know if GGG allows its users to do so easily, though.
Thanks.
From: ZheNing Hu <hidden> Date: 2021-02-18 05:21:58
Junio, thank you for your patient explanation.
Junio C Hamano [off-list ref] 于2021年2月18日周四 上午2:56写道:
ZheNing Hu [off-list ref] writes:
quoted
Denton Liu [off-list ref] 于2021年2月17日周三 下午7:14写道:
quoted
Hi ZheNing,
On Wed, Feb 17, 2021 at 12:12:10PM +0800, ZheNing Hu wrote:
quoted
Oh, I am sorry.
Then I only need to squash the two commit, right?
I've never used GGG before but I suspect that in your GitHub PR, you
need to set the PR base to 'master' instead of 'jc/diffcore-rotate'.
CCing the creator of GGG, please correct me if I'm wrong.
-Denton
quoted
Hi Denton Liu,
You mean I should cherry-pick Junio's patch to my topic branch, right?
Thanks, Denton, for helping.
ZheNing, the end result we want to see on the list is just a single
patch, your 2/2 alone, that says "this patch depends on the
diffcore-rotate topic" _under_ its "---" three-dash lines (where
"meta" comments on the patch to explain how it fits the rest of the
world, etc.). As a single patch "topic", there won't be even 1/1
marking, i.e. something like:
Subject: [PATCH v6] difftool.c: learn a new way start at specified file
From: ZheNing Hu [off-list ref]
`git difftool` only allow us to ...
...
Teach the command an option '--skip-to=<path>' to allow the
user to say that diffs for earlier paths are not interesting
(because they were already seen in an earlier session) and
start this session with the named path.
I noticed that "skip-to" is more suitable for users, right?
(I always thought "rotate-to" would be better)
Signed-off-by: ZheNing Hu [off-list ref]
---
* An earlier round tried to implement the skipping all in the
GIT_EXTERNAL_DIFF, but this round takes advantage of the new
"diff --skip-to=<path>" feature implemented by gitster
(therefore, the patch depends on that topic).
Documentation/git-difftool.txt | 10 ++++++++++
t/t7800-difftool.sh | 30 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
... patch here ...
I do not know how to achieve that end result with GGG and I do not
know if GGG allows its users to do so easily, though.
I understand what you mean. I think I want GGG to work normally.
I will try to resubmit your last patch and my new patch cherry-pick to the
new topic branch. If there are still problems with this, please point out.
From: ZheNing Hu <hidden> Date: 2021-02-18 16:55:52
Junio C Hamano [off-list ref] 于2021年2月18日周四 上午2:56写道:
ZheNing Hu [off-list ref] writes:
quoted
Denton Liu [off-list ref] 于2021年2月17日周三 下午7:14写道:
quoted
Hi ZheNing,
On Wed, Feb 17, 2021 at 12:12:10PM +0800, ZheNing Hu wrote:
quoted
Oh, I am sorry.
Then I only need to squash the two commit, right?
I've never used GGG before but I suspect that in your GitHub PR, you
need to set the PR base to 'master' instead of 'jc/diffcore-rotate'.
CCing the creator of GGG, please correct me if I'm wrong.
-Denton
quoted
Hi Denton Liu,
You mean I should cherry-pick Junio's patch to my topic branch, right?
Thanks, Denton, for helping.
ZheNing, the end result we want to see on the list is just a single
patch, your 2/2 alone, that says "this patch depends on the
diffcore-rotate topic" _under_ its "---" three-dash lines (where
"meta" comments on the patch to explain how it fits the rest of the
world, etc.). As a single patch "topic", there won't be even 1/1
marking, i.e. something like:
Subject: [PATCH v6] difftool.c: learn a new way start at specified file
From: ZheNing Hu [off-list ref]
`git difftool` only allow us to ...
...
Teach the command an option '--skip-to=<path>' to allow the
user to say that diffs for earlier paths are not interesting
(because they were already seen in an earlier session) and
start this session with the named path.
Signed-off-by: ZheNing Hu [off-list ref]
---
* An earlier round tried to implement the skipping all in the
GIT_EXTERNAL_DIFF, but this round takes advantage of the new
"diff --skip-to=<path>" feature implemented by gitster
(therefore, the patch depends on that topic).
Documentation/git-difftool.txt | 10 ++++++++++
t/t7800-difftool.sh | 30 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
... patch here ...
I do not know how to achieve that end result with GGG and I do not
know if GGG allows its users to do so easily, though.
Hi, Junio,
I think my patch is stuck in GGG, and the current version is after I
cherry-pick your patch and my patch on the master. Because I don’t
know how to based on your patch but not submit your patch. Is there
any good way?
Thanks.
From: Johannes Schindelin <hidden> Date: 2021-02-25 15:13:56
Hi Junio, ZheNing & Denton,
On Wed, 17 Feb 2021, Junio C Hamano wrote:
ZheNing Hu [off-list ref] writes:
quoted
Denton Liu [off-list ref] 于2021年2月17日周三 下午7:14写道:
quoted
On Wed, Feb 17, 2021 at 12:12:10PM +0800, ZheNing Hu wrote:
quoted
Oh, I am sorry.
Then I only need to squash the two commit, right?
I've never used GGG before but I suspect that in your GitHub PR, you
need to set the PR base to 'master' instead of 'jc/diffcore-rotate'.
Yes, that is my understanding of what needed to be done.
quoted
You mean I should cherry-pick Junio's patch to my topic branch, right?
That, too.
ZheNing, the end result we want to see on the list is just a single
patch, your 2/2 alone, that says "this patch depends on the
diffcore-rotate topic" _under_ its "---" three-dash lines (where
"meta" comments on the patch to explain how it fits the rest of the
world, etc.). As a single patch "topic", there won't be even 1/1
marking, i.e. something like:
Subject: [PATCH v6] difftool.c: learn a new way start at specified file
From: ZheNing Hu [off-list ref]
`git difftool` only allow us to ...
...
Teach the command an option '--skip-to=<path>' to allow the
user to say that diffs for earlier paths are not interesting
(because they were already seen in an earlier session) and
start this session with the named path.
Signed-off-by: ZheNing Hu [off-list ref]
---
* An earlier round tried to implement the skipping all in the
GIT_EXTERNAL_DIFF, but this round takes advantage of the new
"diff --skip-to=<path>" feature implemented by gitster
(therefore, the patch depends on that topic).
Documentation/git-difftool.txt | 10 ++++++++++
t/t7800-difftool.sh | 30 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
... patch here ...
I do not know how to achieve that end result with GGG and I do not
know if GGG allows its users to do so easily, though.
For single-patch contributions, the PR description is not turned into a
separate cover letter (per your request, Junio), but it is put between the
commit message and the diff as you illustrated.
So yes, the comment can go into the PR description (AKA the first comment
on the PR) and the next `/submit` will include it in the single mail.
Ciao,
Dscho