From: Stefan Dotterweich <hidden> Date: 2016-06-16 02:19:13
When -S or -G is used as a filter option, the resulting commit list
rarely contains all matching commits. Only a certain number of commits
are displayed and the rest are missing.
"git log --boundary -S" does not return as many boundary commits as you
might expect. gitk makes up for this in closevargs() by adding missing
parent (boundary) commits. However, it does not change $numcommits,
which limits how many commits are shown. In the end, some commits at the
end of the commit list are simply not shown.
Change $numcommits whenever a missing parent is added.
Signed-off-by: Stefan Dotterweich <redacted>
---
gitk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Stefan Dotterweich <hidden> Date: 2016-06-16 02:19:13
When -S or -G is used as a filter option, the resulting commit list
rarely contains all matching commits. Only a certain number of commits
are displayed and the rest are missing.
"git log --boundary -S" does not return as many boundary commits as you
might expect. gitk makes up for this in closevargs() by adding missing
parent (boundary) commits. However, it does not change $numcommits,
which limits how many commits are shown. In the end, some commits at the
end of the commit list are simply not shown.
Change $numcommits whenever a missing parent is added.
Signed-off-by: Stefan Dotterweich <redacted>
---
gitk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Paul Mackerras <hidden> Date: 2016-06-16 02:19:15
On Fri, May 06, 2016 at 02:16:54PM +0200, Stefan Dotterweich wrote:
When -S or -G is used as a filter option, the resulting commit list
rarely contains all matching commits. Only a certain number of commits
are displayed and the rest are missing.
"git log --boundary -S" does not return as many boundary commits as you
might expect. gitk makes up for this in closevargs() by adding missing
parent (boundary) commits. However, it does not change $numcommits,
which limits how many commits are shown. In the end, some commits at the
end of the commit list are simply not shown.
Change $numcommits whenever a missing parent is added.
Nice catch; however, we should only update numcommits if the commits
are for the current view, i.e. if $v == $curview.
Do you want to update the patch? If you prefer, I can update the
patch and put a note in the commit message about the issue.
Paul.
From: Stefan Dotterweich <hidden> Date: 2016-06-16 02:19:15
Nice catch; however, we should only update numcommits if the commits
are for the current view, i.e. if $v == $curview.
Do you want to update the patch? If you prefer, I can update the
patch and put a note in the commit message about the issue.
Sure, feel free to update the patch as you see fit.
From: Stefan Dotterweich <hidden> Date: 2016-06-16 02:19:44
When -S or -G is used as a filter option, the resulting commit list
rarely contains all matching commits. Only a certain number of commits
are displayed and the rest are missing.
"git log --boundary -S" does not return as many boundary commits as you
might expect. gitk makes up for this in closevargs() by adding missing
parent (boundary) commits. However, it does not change $numcommits,
which limits how many commits are shown. In the end, some commits at the
end of the commit list are simply not shown.
Change $numcommits whenever a missing parent is added.
Signed-off-by: Stefan Dotterweich <redacted>
---
Here is an updated version of the patch. Feel free to change it if
anything is missing.
gitk-git/gitk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
From: Paul Mackerras <hidden> Date: 2016-12-12 01:58:41
On Sat, Jun 04, 2016 at 10:47:16AM +0200, Stefan Dotterweich wrote:
When -S or -G is used as a filter option, the resulting commit list
rarely contains all matching commits. Only a certain number of commits
are displayed and the rest are missing.
"git log --boundary -S" does not return as many boundary commits as you
might expect. gitk makes up for this in closevargs() by adding missing
parent (boundary) commits. However, it does not change $numcommits,
which limits how many commits are shown. In the end, some commits at the
end of the commit list are simply not shown.
Change $numcommits whenever a missing parent is added.
Signed-off-by: Stefan Dotterweich <redacted>
Thanks, applied, with slight tweaks to the commit message.
Paul.