format-patch version #2

open
opened by ilyagr.bsky.social targeting master
Changed files
+18 -7
+18 -7
gitk
··· 1903 global otherrefids idotherrefs mainhead mainheadid 1904 global selecthead selectheadid 1905 global hideremotes 1906 global tclencoding 1907 1908 foreach v {tagids idtags headids idheads otherrefids idotherrefs} { ··· 1939 set tagids($name) $id 1940 lappend idtags($id) $name 1941 } else { 1942 set otherrefids($name) $id 1943 lappend idotherrefs($id) $name 1944 } ··· 11696 global NS maxwidth maxgraphpct showneartags showlocalchanges 11697 global tabstop wrapcomment wrapdefault limitdiffs 11698 global autocopy autoselect autosellen extdifftool perfile_attrs 11699 - global hideremotes want_ttk have_ttk maxrefs web_browser 11700 11701 set page [create_prefs_page $notebook.general] 11702 ··· 11716 ${NS}::checkbutton $page.hideremotes -text [mc "Hide remote refs"] \ 11717 -variable hideremotes 11718 grid x $page.hideremotes -sticky w 11719 11720 ${NS}::checkbutton $page.autocopy -text [mc "Copy commit ID to clipboard"] \ 11721 -variable autocopy ··· 11863 global oldprefs prefstop showneartags showlocalchanges 11864 global uicolor bgcolor fgcolor ctext diffcolors selectbgcolor markbgcolor 11865 global tabstop limitdiffs autoselect autosellen extdifftool perfile_attrs 11866 - global hideremotes want_ttk have_ttk wrapcomment wrapdefault 11867 11868 set top .gitkprefs 11869 set prefstop $top ··· 11872 return 11873 } 11874 foreach v {maxwidth maxgraphpct showneartags showlocalchanges \ 11875 - limitdiffs tabstop perfile_attrs hideremotes want_ttk wrapcomment wrapdefault} { 11876 set oldprefs($v) [set $v] 11877 } 11878 ttk_toplevel $top ··· 11998 global oldprefs prefstop 11999 12000 foreach v {maxwidth maxgraphpct showneartags showlocalchanges \ 12001 - limitdiffs tabstop perfile_attrs hideremotes want_ttk wrapcomment wrapdefault} { 12002 global $v 12003 set $v $oldprefs($v) 12004 } ··· 12012 global oldprefs prefstop showneartags showlocalchanges 12013 global fontpref mainfont textfont uifont 12014 global limitdiffs treediffs perfile_attrs 12015 - global hideremotes wrapcomment wrapdefault 12016 global ctext 12017 12018 catch {destroy $prefstop} ··· 12059 $limitdiffs != $oldprefs(limitdiffs)} { 12060 reselectline 12061 } 12062 - if {$hideremotes != $oldprefs(hideremotes)} { 12063 rereadrefs 12064 } 12065 if {$wrapcomment != $oldprefs(wrapcomment)} { ··· 12539 set wrapdefault "none" 12540 set showneartags 1 12541 set hideremotes 0 12542 set maxrefs 20 12543 set visiblerefs {"master"} 12544 set maxlinelen 200 ··· 12645 mainfont textfont uifont tabstop findmergefiles maxgraphpct maxwidth 12646 cmitmode wrapcomment wrapdefault autocopy autoselect autosellen 12647 showneartags maxrefs visiblerefs 12648 - hideremotes showlocalchanges datetimeformat limitdiffs uicolor want_ttk 12649 bgcolor fgcolor uifgcolor uifgdisabledcolor colors diffcolors mergecolors 12650 markbgcolor diffcontext selectbgcolor foundbgcolor currentsearchhitbgcolor 12651 extdifftool perfile_attrs headbgcolor headfgcolor headoutlinecolor
··· 1903 global otherrefids idotherrefs mainhead mainheadid 1904 global selecthead selectheadid 1905 global hideremotes 1906 + global hidecustomrefs 1907 global tclencoding 1908 1909 foreach v {tagids idtags headids idheads otherrefids idotherrefs} { ··· 1940 set tagids($name) $id 1941 lappend idtags($id) $name 1942 } else { 1943 + if {$hidecustomrefs} { 1944 + if {![string match "stash" $ref] || 1945 + ![string match "replace/*" $ref]} continue 1946 + } 1947 set otherrefids($name) $id 1948 lappend idotherrefs($id) $name 1949 } ··· 11701 global NS maxwidth maxgraphpct showneartags showlocalchanges 11702 global tabstop wrapcomment wrapdefault limitdiffs 11703 global autocopy autoselect autosellen extdifftool perfile_attrs 11704 + global hideremotes hidecustomrefs want_ttk have_ttk maxrefs web_browser 11705 11706 set page [create_prefs_page $notebook.general] 11707 ··· 11721 ${NS}::checkbutton $page.hideremotes -text [mc "Hide remote refs"] \ 11722 -variable hideremotes 11723 grid x $page.hideremotes -sticky w 11724 + ${NS}::checkbutton $page.hidecustomrefs -text [mc "Hide custom refs"] \ 11725 + -variable hidecustomrefs 11726 + grid x $page.hidecustomrefs -sticky w 11727 11728 ${NS}::checkbutton $page.autocopy -text [mc "Copy commit ID to clipboard"] \ 11729 -variable autocopy ··· 11871 global oldprefs prefstop showneartags showlocalchanges 11872 global uicolor bgcolor fgcolor ctext diffcolors selectbgcolor markbgcolor 11873 global tabstop limitdiffs autoselect autosellen extdifftool perfile_attrs 11874 + global hideremotes hidecustomrefs want_ttk have_ttk wrapcomment wrapdefault 11875 11876 set top .gitkprefs 11877 set prefstop $top ··· 11880 return 11881 } 11882 foreach v {maxwidth maxgraphpct showneartags showlocalchanges \ 11883 + limitdiffs tabstop perfile_attrs hideremotes hidecustomrefs \ 11884 + want_ttk wrapcomment wrapdefault} { 11885 set oldprefs($v) [set $v] 11886 } 11887 ttk_toplevel $top ··· 12007 global oldprefs prefstop 12008 12009 foreach v {maxwidth maxgraphpct showneartags showlocalchanges \ 12010 + limitdiffs tabstop perfile_attrs hideremotes hidecustomrefs \ 12011 + want_ttk wrapcomment wrapdefault} { 12012 global $v 12013 set $v $oldprefs($v) 12014 } ··· 12022 global oldprefs prefstop showneartags showlocalchanges 12023 global fontpref mainfont textfont uifont 12024 global limitdiffs treediffs perfile_attrs 12025 + global hideremotes hidecustomrefs wrapcomment wrapdefault 12026 global ctext 12027 12028 catch {destroy $prefstop} ··· 12069 $limitdiffs != $oldprefs(limitdiffs)} { 12070 reselectline 12071 } 12072 + if {$hideremotes != $oldprefs(hideremotes) || $hidecustomrefs != $oldprefs(hidecustomrefs)} { 12073 rereadrefs 12074 } 12075 if {$wrapcomment != $oldprefs(wrapcomment)} { ··· 12549 set wrapdefault "none" 12550 set showneartags 1 12551 set hideremotes 0 12552 + set hidecustomrefs 0 12553 set maxrefs 20 12554 set visiblerefs {"master"} 12555 set maxlinelen 200 ··· 12656 mainfont textfont uifont tabstop findmergefiles maxgraphpct maxwidth 12657 cmitmode wrapcomment wrapdefault autocopy autoselect autosellen 12658 showneartags maxrefs visiblerefs 12659 + hideremotes hidecustomrefs showlocalchanges datetimeformat limitdiffs uicolor want_ttk 12660 bgcolor fgcolor uifgcolor uifgdisabledcolor colors diffcolors mergecolors 12661 markbgcolor diffcontext selectbgcolor foundbgcolor currentsearchhitbgcolor 12662 extdifftool perfile_attrs headbgcolor headfgcolor headoutlinecolor