Re: New feature discussion: git rebase --status
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 12, 2013, 12:41 UTC
- Message-ID
- <vpqehc7y00a.fsf@anie.imag.fr>
- In-Reply-To
- <fa9c12a81ef2e92ba75dd1271d9e0b2d@ensibm.imag.fr>
Mathieu Liénard--Mayor <mathieu.lienard--mayor@ensimag.fr> writes:
> $ git status > # HEAD detached from ecb9f3e > # You are currently editing a832578... my_commit_message [3/5] while > rebasing.
Showing the commit message here is too much IMHO. With a typical 50-characters message, it already gives
# You are currently editing a832578 __________________________________________________ [3/5] while rebasing
and we usually try to fit everything on a 80-columns terminal.
My vote would go for just showing the short sha1. The user can run "git show $sha1" to get more information if needed, it's just a copy-paste away. If we want to show the commit message, it should be on its own line.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/