author | SZEDER Gábor <szeder@ira.uka.de> | |
Sun, 10 Oct 2010 22:06:22 +0000 (00:06 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Oct 2010 22:09:25 +0000 (15:09 -0700) | ||
commit | c3898111ac65c6703691db5c984b0f8493ba40ee | |
tree | de3f9428593093b9c1281c0bf61744e31c3bfc5a | tree | snapshot |
parent | 2a5da75579310a674431e6b91fed1d712f4c24ae | commit | diff |
bash: support pretty format aliases
Users can have their own pretty format aliases since 8028184 (pretty:
add aliases for pretty formats, 2010-05-02), so let's offer those
after '--pretty=' and '--format=' for 'log' and 'show', too.
Similar to the completion of aliases, this will invoke 'git config'
each time pretty aliases needs to be completed, so changes in pretty.*
configuration will be reflected immediately.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Users can have their own pretty format aliases since 8028184 (pretty:
add aliases for pretty formats, 2010-05-02), so let's offer those
after '--pretty=' and '--format=' for 'log' and 'show', too.
Similar to the completion of aliases, this will invoke 'git config'
each time pretty aliases needs to be completed, so changes in pretty.*
configuration will be reflected immediately.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | diff | blob | history |