branch: support configuring --sort via .gitconfig
authorSamuel Maftoul <samuel.maftoul@gmail.com>
Thu, 16 Aug 2018 09:35:08 +0000 (11:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Aug 2018 18:17:10 +0000 (11:17 -0700)
commit560ae1c164ad040a389ccc47834dce8c15447294
treeff10bf3737823e15698fabb29c4e0928321eda50
parent63749b2dea5d1501ff85bab7b8a7f64911d21dea
branch: support configuring --sort via .gitconfig

Add support for configuring default sort ordering for git branches. Command
line option will override this configured value, using the exact same
syntax.

Signed-off-by: Samuel Maftoul <samuel.maftoul@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git-branch.txt
builtin/branch.c
t/t3200-branch.sh