Open jwu910 opened 4 years ago
I'm willing to work on this issue
Thanks for the interest! Please let me know if you have any questions
@jwu910 if no one is working on this I'd like to work on it.
@mahendraHegde Feel free to tackle this. Let me know if you have questions.
I think we'll want a flag option that can take an integer that will be consumed by the ref count flag. I don't remember exactly where it is in the source code right now, but we should be able to set a default value if none is set in the configstore object.
If we can figure out how to let the user set up a configstore object, but also have a forced override when calling CIO, maybe that would be ideal. If that takes too long, we can set that up on another ticket.
Let me know if you have any questions
With the release of 3.x, Check It Out should implement an option for the --count option flag that gets passed into the git ref command that populates the list of references. This was originally limited to 500 for performance reasons.
We can keep the 500 as the default, but now that a user can search and filter, we may want to provide the ability to set no-limit/get all branch references.
https://github.com/jwu910/check-it-out/blob/master/src/utils/git.js#L185
I suggest we consider parsing the options at app start and adding the count to a global config object.