author | Yann Dirson <ydirson@altern.org> | |
Thu, 21 Feb 2008 20:23:31 +0000 (21:23 +0100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 10 Mar 2008 06:39:46 +0000 (17:39 +1100) | ||
commit | 2d48085661e3f522904a10603e303dbec046a56f | |
tree | 2a3bb82ba83f326fb19488ae96265ab37e3f86d8 | tree | snapshot |
parent | b9bee11526ec23541ddbbd75716bfd1acc241463 | commit | diff |
[PATCH] Add an --argscmd flag to get the list of refs to show
This allows gitk to be used to display a different set of refs each
the display is refreshed. This is useful when gitk is called from
other porcelain suites, for doing such things as displaying the set of
patches in a patch stack.
The user specifies a command as the argument to the --argscmd option.
The command is run initially and each time the display is refreshed,
and is expected to generate a list of commit IDs, one per line. Those
commits are appended to the commits passed on the command-line when
constructing the git log command to be executed.
The command is considered to be an attribute of a view, and has its
own field in the saved view, and an edit field in the view editor.
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This allows gitk to be used to display a different set of refs each
the display is refreshed. This is useful when gitk is called from
other porcelain suites, for doing such things as displaying the set of
patches in a patch stack.
The user specifies a command as the argument to the --argscmd option.
The command is run initially and each time the display is refreshed,
and is expected to generate a list of commit IDs, one per line. Those
commits are appended to the commits passed on the command-line when
constructing the git log command to be executed.
The command is considered to be an attribute of a view, and has its
own field in the saved view, and an edit field in the view editor.
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |