News for hackers. Stuff that matters.
Re:Manul – the madness vendoring utility for Go with Git sub... by apatap on Wednesday July 27, 2016 @02:53AM (#12171008)
Re:Manul – the madness vendoring utility for Go with Git sub... by durdn on Wednesday July 27, 2016 @04:56AM (#12171387)
These are little pleasures and forgive the tiny vanity moment: I wrote the first article you linked. I also wrote more recently a follow up on just subtree: https://developer.atlassian.com/blog/2015/05/the-power-of-gi...
Re:Manul – the madness vendoring utility for Go with Git sub... by scrollaway on Wednesday July 27, 2016 @01:00PM (#12174493)
I remember reading that article a year ago. Thank you for it, it's served as a reference for me since :)
Re:Manul – the madness vendoring utility for Go with Git sub... by kovetskiy on Wednesday July 27, 2016 @03:05AM (#12171050)
git subtree have one bis disadvantage, git log will look like a hell, because all subtrees' commits also will be shown.
Re:Manul – the madness vendoring utility for Go with Git sub... by shabbyrobe on Wednesday July 27, 2016 @03:29AM (#12171139)
Unless you use --squash, but you have to remember to pass it.
Re:Manul – the madness vendoring utility for Go with Git sub... by waxjar on Wednesday July 27, 2016 @07:53AM (#12172027)
I found that this makes rebasing a feature branch really difficult. The alternative is not much better.
Re:Manul – the madness vendoring utility for Go with Git sub... by dvirsky on Wednesday July 27, 2016 @03:33AM (#12171150)
I'm using subtrees to vendor C dependencies and it works well. Submodules are problematic as they may disappear or the git repo might be down. If your dependency is read only, subtree is a better option IMO.