Doesn't respect git credential caching setting
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.6k
- Forks
- 357
- Avg merge
- 15h 47m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
I have configured git to cache my credential for 2hrs like this in my .gitconfig:
[credential]
helper = cache --timeout=3600
therefore I don't have to enter my password every moment for pushing
just quickly checked out the magit; it does save password just like git.
Describe the solution you'd like
respect git config credential config
Describe alternatives you've considered
there's none.
Additional context
not needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Neogit's git push entry point and trace how it obtains credentials, using the .gitconfig [credential] helper example in the issue as the expected configuration. Compare that flow with Git's credential caching behavior and verify that repeated pushes do not request the password again when the configured cache timeout is active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, lua, neovim
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100