author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 16 Nov 2006 04:52:20 +0000 (23:52 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 18 Nov 2006 04:56:16 +0000 (23:56 -0500) | ||
commit | c1237ae288aae7e45a18f3d5097b49451293acfe | |
tree | f032dfd2457695fae28368348e193084a7f964f1 | tree | snapshot |
parent | 306500fc09e7d8be042e8b9abbd9011b80b3300d | commit | diff |
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>
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 | diff | blob | history |