Re: [PATCH v16 0/7] config commit verbose

2 messages, 2 authors, 2016-06-16 · open the first message on its own page

Re: [PATCH v16 0/7] config commit verbose

From: Pranit Bauva <hidden>
Date: 2016-06-16 02:19:13

[+cc:git@vger.kernel.org] Because its an interesting fact to be shared
which isn't covered elsewhere.

On Fri, May 6, 2016 at 2:53 AM, Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
Sending this privately since it's probably covered elsewhere. With
this, if I set the option will "reword" in git rebase -i show me the
patch?

If so: awesome.
Yes, git rebase -i will show the diff in 'reword' if commit.verbose is
set to true or a value greater than 0.

I dug further in git-rebase--interactive.sh
I could find appearances of "git commit --amend" but I was unable to
find appearances of "COMMIT_EDITMSG". If COMMIT_EDITMSG was coming
into picture, the commit.verbose could not affect it. And that is not
the case.

I guess this would be a desirable trait for most of the consumers of
commit.verbose (like Ævar) so there would not be a need to suppress.

Regards,
Pranit Bauva

Re: [PATCH v16 0/7] config commit verbose

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-16 02:19:14

On Fri, May 6, 2016 at 6:16 PM, Pranit Bauva [off-list ref] wrote:
[+cc:git@vger.kernel.org] Because its an interesting fact to be shared
which isn't covered elsewhere.

On Fri, May 6, 2016 at 2:53 AM, Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
quoted
Sending this privately since it's probably covered elsewhere. With
this, if I set the option will "reword" in git rebase -i show me the
patch?

If so: awesome.
Yes, git rebase -i will show the diff in 'reword' if commit.verbose is
set to true or a value greater than 0.

I dug further in git-rebase--interactive.sh
I could find appearances of "git commit --amend" but I was unable to
find appearances of "COMMIT_EDITMSG". If COMMIT_EDITMSG was coming
into picture, the commit.verbose could not affect it. And that is not
the case.

I guess this would be a desirable trait for most of the consumers of
commit.verbose (like Ævar) so there would not be a need to suppress.
Yeah it's great, it's something I've wanted from interactive rebase
for a while now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help