Skip to content

integrated terminal profile is not respected by git build in #148720

Closed

Description

@maksim-pinguin
  • VS Code Version: 1.66.2
  • OS Version: Windows 10

Steps to Reproduce:

  1. install cygwin
  2. configuire integrated termial to cygwin
  "terminal.integrated.profiles.windows": {
        "Cygwin": {
          "path": "C:\\cygwin\\bin\\bash.exe",
          "args": ["--login"],
          "env": {"CHERE_INVOKING": "1"}
        }
    }
  1. git build in doesn't respect this.
    Gitlense on the other hand makes use of the integrated terminal profile so setting git.path can only satisfy gitlense or git base

Activity

  1. maksim-pinguin commented on May 4, 2022

    @maksim-pinguin
    Author

    i guss this would also fix this #7998

  2. meganrogge commented on May 4, 2022

    @meganrogge
    Collaborator

    Yes /duplicate #7998

  3. added
    *duplicate
    on May 4, 2022
  4. maksim-pinguin commented on May 4, 2022

    @maksim-pinguin
    Author

    it's not a duplicate. it's still not supprted.
    please see the discussion

  5. vscode-triage-bot commented on May 4, 2022

    @vscode-triage-bot

    Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

    Happy Coding!

  6. maksim-pinguin commented on May 4, 2022

    @maksim-pinguin
    Author

    Megan Rogge (@meganrogge) Daniel Imms (@Tyriar) would you please reopen either this or #7998 since this issue still exists

  7. Tyriar commented on May 4, 2022

    @Tyriar
    Contributor

    It's not totally clear what you mean here but we don't support Cygwin for the built-in git functionality (#7998 was closed as out of scope/won't fix), plus the integrated terminal has nothing to do with built-in git so they are unrelated; the terminal will not use git.path by design.

  8. maksim-pinguin commented on May 4, 2022

    @maksim-pinguin
    Author

    the terminal will not use git.path by design.

    but the extensition do., see Gitlense e.g.

    It's not totally clear what you mean here but we don't support Cygwin for the built-in git functionality

    my question is why is git built-in not using the integrated terminal like other extension are doing it. like the setting in git.path would have to be different per extension but just per terminal

  9. maksim-pinguin commented on May 4, 2022

    @maksim-pinguin
    Author

    it's less of a question of supporting cygwin per se, but of supporting the configured integrated terminal setup

  10. Tyriar commented on May 4, 2022

    @Tyriar
    Contributor

    maksim-pinguin the only integration I think exists between them is git injecting an auth provider via environment variables. The terminal picks up git from your path, if it's not on your path you should configure your terminal to do that. Basically this is out of scope as well.

  11. maksim-pinguin commented on May 4, 2022

    @maksim-pinguin
    Author

    maksim-pinguin the only integration I think exists between them is git injecting an auth provider via environment variables. The terminal picks up git from your path, if it's not on your path you should configure your terminal to do that. Basically this is out of scope as well.

    I have git on my path. In the terminal integration.

    So again the build in git is not using the right terminal. You will have the same problem when trying to use git with a wsl terminal.

  12. maksim-pinguin commented on May 5, 2022

    @maksim-pinguin
    Author

    Daniel Imms (@Tyriar) Megan Rogge (@meganrogge)
    Can you tell me at least we're I need to approach this to make git (build in) use my integrated terminal?

    I would like to try to implement it.

  13. Tyriar commented on May 5, 2022

    @Tyriar
    Contributor

    I still don't understand what you mean, the built-in git does not use a terminal by design. Maybe you want to create an extension to do what you want?

  14. locked and limited conversation to collaborators on Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions