git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Remove help advice text from git editors for interactive rebase and reword
@ 2017-07-23 10:03 Kirill Likhodedov
  2017-07-23 12:42 ` Alexei Lozovsky
  2017-07-23 22:09 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Kirill Likhodedov @ 2017-07-23 10:03 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]

Hello,

is it possible to remove the helping text which appears at the bottom of the Git interactive rebase editor (the one with the list of instructions), and the one which appears at the bottom of the commit editor (which appears on rewording a commit or squashing commits)? 

The texts I'm talking about are:

# Rebase e025896..efc3d17 onto e025896¬
#¬
# Commands:¬
#  p, pick = use commit¬
...

and

# Please enter the commit message for your changes. Lines starting¬
# with '#' will be ignored, and an empty message aborts the commit.
# Not currently on any branch.¬
...


If there is no way to do it now, do you think it makes sense to provide a configuration variable for this, e.g. to introduce more advice.* config variables in addition to existing ones?

My motivation is the following: I'm improving the Git client inside of IntelliJ IDEA IDE and I would like to provide only the plain commit message text to the user (any hints can be shown separately, not inside the editor).

I know I can load the original commit message myself (but I prefer not to make extra calls when possible); and I can parse and strip out the help pages (but it is not very reliable since the text may change in future), so I'd appreciate any other solution to my problem, as well.

However I suppose that experienced command line users could also benefit from such configuration, since this helping text is intended only for newbies and is more like a noise for advanced users.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2857 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-24 21:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23 10:03 Remove help advice text from git editors for interactive rebase and reword Kirill Likhodedov
2017-07-23 12:42 ` Alexei Lozovsky
2017-07-23 22:09 ` Junio C Hamano
2017-07-23 22:26   ` Kirill Likhodedov
2017-07-24 17:23     ` Jeff King
2017-07-24 18:47       ` SZEDER Gábor
2017-07-24 21:47         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).