Bug 578676 - Implement git configs remote.pushDefault and branch.<name>.pushRemote
Summary: Implement git configs remote.pushDefault and branch.<name>.pushRemote
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 6.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-10 08:42 EST by Thomas Wolf CLA
Modified: 2022-02-14 09:23 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wolf CLA 2022-02-10 08:42:22 EST
See [1]. In PushCommand, add code to determine a remote, if none given, using (in this sequence)

 branch.<name>.pushRemote
 remote.pushDefault
 branch.<name>.remote
 "origin"

[1] https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault
Comment 1 Eclipse Genie CLA 2022-02-11 12:02:05 EST
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/190728