]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: Only populate a fetch or push if we have an action.
authorShawn O. Pearce <spearce@spearce.org>
Thu, 16 Nov 2006 04:52:20 +0000 (23:52 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 18 Nov 2006 04:56:16 +0000 (23:56 -0500)
commitc1237ae288aae7e45a18f3d5097b49451293acfe
treef032dfd2457695fae28368348e193084a7f964f1
parent306500fc09e7d8be042e8b9abbd9011b80b3300d
git-gui: Only populate a fetch or push if we have an action.

Don't offer to fetch from a remote unless we have at least one Pull:
line in its .git/remotes/<name> file or at least one configuration
value for remote.<name>.fetch.  Ditto for push.

Users shouldn't be fetching or pushing branch groups unless they
have them configured; anything else is just crazy.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui