author | Paul Mackerras <paulus@samba.org> | |
Tue, 15 Jan 2008 11:30:40 +0000 (22:30 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Tue, 15 Jan 2008 11:30:40 +0000 (22:30 +1100) | ||
commit | e7297a1c5fd1133134e78a775e8b87d7679fb526 | |
tree | b3ba57ac0468b6c33b43eaa17478c23300bc7322 | tree | snapshot |
parent | 46308ea1da6794bef1a99b0b1c892c46dec40146 | commit | diff |
gitk: Fix bug where editing an existing view would cause an infinite loop
This fixes a bug where changing the commit range or file list for an
existing view and then clicking OK would cause gitk to go into an
infinite loop. The problem was that newviewok was invoking reloadcommits
via "run reloadcommits", but reloadcommits wasn't explicitly returning
0, and whatever it was returning was causing dorunq to run it over
and over again. This fixes it by making reloadcommits return 0.
Signed-off-by: Paul Mackerras <paulus@samba.org>
This fixes a bug where changing the commit range or file list for an
existing view and then clicking OK would cause gitk to go into an
infinite loop. The problem was that newviewok was invoking reloadcommits
via "run reloadcommits", but reloadcommits wasn't explicitly returning
0, and whatever it was returning was causing dorunq to run it over
and over again. This fixes it by making reloadcommits return 0.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |