[PATCH 0/3] Minor preparation for @{publish}
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jan 12, 2014, 17:11 UTC
- Message-ID
- <1389546666-17438-1-git-send-email-artagnon@gmail.com>
Hi,
I'm getting ready to switch timezones in a few days, so the @{publish} series is on hold for some time. In the meantime, I thought I'd send in a few patches early.
[1/3] is a minor typo fix I happened to notice while writing tests.
[2/3] is an is an excellent patch by Peff, that greatly helped prettify the code. It's a pure refactor and should have no effect on functionality.
[3/3] introduces branch->pushremote corresponding to branch->remote, which is crucial for getting @{publish} from the branch_get() interface. Peff had sent a similar patch, but mine has some subtle differences.
Thanks.
Jeff King (1): interpret_branch_name: factor out upstream handling
Ramkumar Ramachandra (2): t1507 (rev-parse-upstream): fix typo in test title remote: introduce and fill branch->pushremote
remote.c | 15 ++++++-- remote.h | 3 ++ sha1_name.c | 83 +++++++++++++++++++++++++++---------------- t/t1507-rev-parse-upstream.sh | 2 +- 4 files changed, 68 insertions(+), 35 deletions(-)
-- 1.8.5.2.313.g5abf4c0.dirty