rebase -i: respect core.abbrev

collapse_todo_ids() uses `git rev-parse --short=7' to abbreviate
commit ids before showing them to the user in a text editor.  Let's
drop argument from --short to the configured value instead (still
defaulting to 7).

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
This commit is contained in:
Kirill A. Shutemov 2013-09-28 18:53:05 +03:00 committed by Jonathan Nieder
parent 9cd755b2fc
commit 568950388b

View file

@ -713,7 +713,7 @@ expand_todo_ids() {
}
collapse_todo_ids() {
transform_todo_ids --short=7
transform_todo_ids --short
}
# Rearrange the todo list that has both "pick sha1 msg" and