Why Nostr? What is Njump?
2024-03-02 21:31:21
in reply to

DanConwayDev on Nostr: thanks for the proposal. its a typo fix for the word 'download'. ngit sent the 48 ...

thanks for the proposal. its a typo fix for the word 'download'.

ngit sent the 48 previous commits as part of the patch set. I think ngit did this because you hadn't pulled from origin into the 'main' branch but instead opted to pull directly into your feature branch. ngit currently assumes that commit not in the 'main' branch are part of the feature and includes them in the proposal. does that sound right?

perhaps ngit should check against 'origin/main' (or 'origin/master') instead. or it look for a remote with a url most similar to that in the repo event, and look for '[remote-name]/main'. that might be more robust.

it should also sense check the number of commits

perhaps it shouldn't make any assumptions and present a list of recent commits in the current branch for the user to choose from
Author Public Key
npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr