Files
openide/plugins/git4idea
Chris Lemaire 670010ad75 [gitlab] Make private forks checkout through special ref (IDEA-326553)
Fixes IDEA-326553

refs/merge-requests/{iid}/head is used here.
Changes to other places where getSourceRemoteDescriptor is called
should still follow sometime.

Currently, the special ref is checked out as a local branch named fork/refs/merge-requests/{iid}/head.
This is not ideal for a few reasons, but future commits should solve this:

Checking out as a branch makes it possible to confuse the special ref as a remote branch. It's not a remote branch and it cannot be made one. You shouldn't be able to push to it, but pull might be made possible in some special fetch way.

GitOrigin-RevId: c74b15971b2620e707a523206fb4ec9ae1f95d70
2024-03-05 19:10:51 +00:00
..

Git4Idea
======================================================================

This is the Git IntelliJ IDEA VCS plugin. This plugin was originally
derived from the Mercurial plugin source & a couple of other Git plugin
sources. It should be compatible with IDEA v8 & above.

Usage:

Requires external Git command line tool to function. Configure the
location of the 'git' command in the project settings Version Control
tab using the "Configure VCS" button for the Git VCS.

Here's the IDEA plugin page:
https://plugins.jetbrains.com/plugin/13173-git

Original source code Subversion repository is available here:
 http://svn.jetbrains.org/idea/Trunk/bundled/git4idea/


======================================================================