Merge branch 'maint'
* maint: git-gui: Skip nicknames when selecting author initials
This commit is contained in:
@ -556,6 +556,10 @@ method _read_blame {fd cur_w cur_d cur_s} {
|
|||||||
set a_name {}
|
set a_name {}
|
||||||
catch {set a_name $header($cmit,author)}
|
catch {set a_name $header($cmit,author)}
|
||||||
while {$a_name ne {}} {
|
while {$a_name ne {}} {
|
||||||
|
if {$author_abbr ne {}
|
||||||
|
&& [string index $a_name 0] eq {'}} {
|
||||||
|
regsub {^'[^']+'\s+} $a_name {} a_name
|
||||||
|
}
|
||||||
if {![regexp {^([[:upper:]])} $a_name _a]} break
|
if {![regexp {^([[:upper:]])} $a_name _a]} break
|
||||||
append author_abbr $_a
|
append author_abbr $_a
|
||||||
unset _a
|
unset _a
|
||||||
|
Reference in New Issue
Block a user