Live data from Hacker News

Show HN: Git-Add–Interactive with Enhancements

github.com

11–20 of 45 posts

Re: Show HN: Git-Add–Interactive with Enhancements

#11

Question: why not send this to the Git mailing list, and hopefully get this in upstream?

I don’t think the Git maintainers will consider adding Go as a dependency and having commands in a new language.

Or at least, it would require first a massive effort to align the maintainers on the idea of a new language, like Rust in the Linux kernel

Re: Show HN: Git-Add–Interactive with Enhancements

#12

Question: why not send this to the Git mailing list, and hopefully get this in upstream?

I don’t think the Git maintainers will consider adding Go as a dependency and having commands in a new language. Or at least, it would require first a massive effort to align the maintainers on the idea of a new language, like Rust in the Linux kernel

I updated my calendar to revisit in 2045.

Re: Show HN: Git-Add–Interactive with Enhancements

#13

Question: why not send this to the Git mailing list, and hopefully get this in upstream?

I don’t think the Git maintainers will consider adding Go as a dependency and having commands in a new language. Or at least, it would require first a massive effort to align the maintainers on the idea of a new language, like Rust in the Linux kernel

> I don’t think the Git maintainers will consider adding Go as a dependency

Just re-write in C

Re: Show HN: Git-Add–Interactive with Enhancements

#15

I always love to see these little git extensions. For anyone else interested in this stuff, here are some others I like: lazygit (of course): https://github.com/jesseduffield/lazygit git-machete: https://github.com/VirtusLab/git-machete rebase-editor: https://github.com/sjurba/rebase-editor

[deleted]

Re: Show HN: Git-Add–Interactive with Enhancements

#17

Earlier quoted context omitted.

I don’t think the Git maintainers will consider adding Go as a dependency and having commands in a new language. Or at least, it would require first a massive effort to align the maintainers on the idea of a new language, like Rust in the Linux kernel

> I don’t think the Git maintainers will consider adding Go as a dependency Just re-write in C

This "just" carries a lot of weight.

And that's probably not enough: for example likely you'd need to reuse whatever Git uses to generates patch formats. It's not necessarily _hard_, but it's not "just" a language translation.

Re: Show HN: Git-Add–Interactive with Enhancements

#18

Earlier quoted context omitted.

I don’t think the Git maintainers will consider adding Go as a dependency and having commands in a new language. Or at least, it would require first a massive effort to align the maintainers on the idea of a new language, like Rust in the Linux kernel

> I don’t think the Git maintainers will consider adding Go as a dependency Just re-write in C

"Just"

Re: Show HN: Git-Add–Interactive with Enhancements

#19

Earlier quoted context omitted.

I don’t think the Git maintainers will consider adding Go as a dependency and having commands in a new language. Or at least, it would require first a massive effort to align the maintainers on the idea of a new language, like Rust in the Linux kernel

> I don’t think the Git maintainers will consider adding Go as a dependency Just re-write in C

Maybe someone will create modernperl, à la modernc, to automatically port go to perl.

Re: Show HN: Git-Add–Interactive with Enhancements

#20
It would be nice if this had the same interface for `git add -i` allowing you to type in numbers or letters.

** Commands **

  1: status   2: update   3: revert   4: add untracked

  5: patch   6: diff   7: quit   8: help
What now>

This allows you to either type in (p) or (5) to go into patch mode.

Post reply on HN