Skip to content

credential.helper=cache only works before starting lazygit #826

@rayluo

Description

@rayluo

Describe the bug
Background: In some of my environments I'm using a normal password (i.e. not ssh key), and I use git credential.helper cache to reduce the need to input password everytime. It works by git spawning a background cache-daemon.

Such mechanism still works, if I perform one such login in normal git command line, and then start to do all the pull/push inside lazygit.
But it will not work if I use lazygit without that cache-daemon being pre-existing. It is possibly because git's cache daemon attaches itself to current process's parent, but perhaps lazygit uses an intermedium and temporary "bash" process so that the daemon got killed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions