aboutsummaryrefslogtreecommitdiffstats
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-05-21 00:45:16 -0400
committerJunio C Hamano <gitster@pobox.com>2015-05-21 11:03:49 -0700
commitf052154db332e48ea35b1a0d783361a40a361250 (patch)
tree142d8071a45e5c69bb3deae603a1443a3e8717b9 /git-gui/lib/commit.tcl
parentremote.c: drop "remote" pointer from "struct branch" (diff)
downloadgit-f052154db332e48ea35b1a0d783361a40a361250.tar.gz
git-f052154db332e48ea35b1a0d783361a40a361250.zip
remote.c: hoist branch.*.remote lookup out of remote_get_1
We'll want to use this logic as a fallback when looking up the pushremote, so let's pull it out into its own function. We don't technically need to make this available outside of remote.c, but doing so will provide a consistent API with pushremote_for_branch, which we will add later. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions