If available, use gitk --argscmd in contrib/stg-gitk.
commitab2e05744bac9a64f6239edb61403617ab456016
authorYann Dirson <ydirson@altern.org>
Mon, 25 Jun 2007 21:24:56 +0000 (25 23:24 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 25 Jun 2007 21:50:08 +0000 (25 22:50 +0100)
treec669f1d557970e00e933f16d587fa1e7bac52ed5
parentf32c0bfa9db671b04597541749678ad46b6860af
If available, use gitk --argscmd in contrib/stg-gitk.

This allows to ask gitk to recompute the list of patches to show at
every refresh.  Before this, we had problems with 'stg-gitk --all':

 - deleting a patch that was existing at startup time would trigger an
 "unknown ref" error from gitk and force to quit/restart manually;
 - patches created since startup were only visible when applied, or
 when below one of the startup patches.

Note that --argscmd is not in official gitk yet, so we don't try to
use it if it's not available.

Signed-off-by: Yann Dirson <ydirson@altern.org>
contrib/stg-gitk