ThePrimeagen / ThePrimeagen/init.lua

Wrong number arguments issue

Open
#23 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
4k
Forks
680
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ThePrimeagen/init.lua/blob/a184d58880787512c21429e1ab8bea74546dff75/after/plugin/fugitive.lua#L22

It seems that the right way is:

vim.cmd.Git("pull  --rebase")

But maybe I miss something :) thanks a lot for your sharing 👍

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open after/plugin/fugitive.lua at line 22 and inspect how the Git command is invoked. Reproduce the wrong-number-of-arguments error, then verify the corrected invocation runs the pull command with rebase successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, vim
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.