mirror of
https://github.com/git/git.git
synced 2026-08-11 17:48:42 +00:00
e5b37ac1ec6f1500a47a320a261933bccbdeb4f7
First, update_arcrows was being overly aggressive in trimming displayorder, resulting in calls to rowofcommit sometimes trimming off commits that layoutrows had asked for in make_disporder and was relying on having present. This adds a vrowmod($view) variable that lets update_arcrows be more precise in trimming off the invalid bits of displayorder (and it also simplifies the check in make_disporder). This modifies modify_arc and its callers so that vrowmod($view) is updated appropriately. Secondly, we were sometimes calling idcol with $i==-1, which resulted in a call to ordertoken with the null string. This fixes it by forcing $i to 0 if it is less than zero. This also fixes a possible infinite recursion with rowofcommit and update_arcrows calling each other ad infinitum. Signed-off-by: Paul Mackerras <paulus@samba.org>
Description
Languages
C
49.9%
Shell
39.5%
Perl
4.3%
Tcl
3%
Python
0.8%
Other
2.2%