Re: hgmq vs. StGIT
From: Catalin Marinas <hidden>
Date: 2016-06-15 22:42:10
On 01/11/05, Chris Mason [off-list ref] wrote:
I would suggest just putting the .git/patches directory under revision control.
Putting them under a separate revisions repository, i.e. having a .git/patches/,git directory? Otherwise there would be some problems with the modified files automatically included in a patch.
More importantly, you can reuse gitk and all of the other history functionality in the SCM.
Doing it the above way wouldn't be of much help with gitk. You would get files like .git/patches/master/patchX/top etc. under revision control which only contain some hash strings, not meaningful. With GIT you have the advantage of being able to specify the DAG structure. It is pretty simple to just link the commit objects corresponding to a patch into a DAG and using gitk would allow you to navigate through the history and also look at the diff itself. -- Catalin