Hacker Newsnew | past | comments | ask | show | jobs | submit | weebst's commentslogin

I'm very happy to hear you had fun with it. Thank you for the comprehensive feedback and for trying it out!

Not sure what's happening with the tarball. Will take a look at that.


That's a neat idea, I can see how it'd be useful.

If you have a shell that supports extended globbing, you could do something like:

  $ git who table */**/*.go
That works for me using Bash. I believe all that's happening here is that Bash is expanding the globs and passing a long list of individual filepaths as arguments to git who. Git who then passes them to git log so that it only tallies the commits you'd get by running:

  $ git log */**/*.go


Yup. It’s a complex enough set of in/excludes that I think that would get unwieldy for my use case.

Details here:

https://github.com/Aider-AI/aider/blob/main/scripts/blame.py

Again, nice work on your tool. I’ll spend some more time trying to harness it for my need.


Thank you very much!


> $ git who table */**/*.go

I might have my globbing syntax wrong, but I think that `*/**/*.go` is the same as `**/*.go` unless you have `*.go` files in the working directory.


The -n flag does this. Use -n 0 to show all rows


Like other commenters have said, mailmap does this and git who will respect your mailmap file.


Like the other comment, this is "I came looking for copper but found gold" moment for me. Thanks!


These are all build dependencies. You don't need any of these just to run git who. The language could be clearer; I'll update it.


Ah, ok, great! I'll try it then...


Wow! I had no idea. Will need to update the README. Thanks for the tip!


Yes, that is awesome. I wonder if "go" works like that also?


https://twobithistory.org

If you think you'd enjoy long-form, deeply researched essays that look at the development of technical ideas throughout the history of computing, I've got you covered.


Thanks a lot for pointing these out! I've corrected them.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: