summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorYann Dirson <ydirson@altern.org>2008-02-21 21:23:31 +0100
committerPaul Mackerras <paulus@samba.org>2008-03-10 17:39:46 +1100
commit2d48085661e3f522904a10603e303dbec046a56f (patch)
tree2a3bb82ba83f326fb19488ae96265ab37e3f86d8 /commit.h
parentb9bee11526ec23541ddbbd75716bfd1acc241463 (diff)
downloadgit-2d48085661e3f522904a10603e303dbec046a56f.tar.gz
[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>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions