Nick Lewycky
2015-Jul-29 01:34 UTC
[LLVMdev] Request: Changing commit message in llvm trunk
Anton Korobeynikov wrote:>> It could be very useful for 3 reason. > This will surely break git mirrors.Sounds like the git mirror's problem.
Tim Northover
2015-Jul-29 05:01 UTC
[LLVMdev] Request: Changing commit message in llvm trunk
>> This will surely break git mirrors. > > Sounds like the git mirror's problem.And every user of those mirrors, unless we have the resources to forge a SHA1 hash for the new commit message. Tim.
James Y Knight
2015-Jul-29 05:11 UTC
[LLVMdev] Request: Changing commit message in llvm trunk
On Jul 28, 2015, at 9:34 PM, Nick Lewycky <nicholas at mxc.ca> wrote:> Anton Korobeynikov wrote: >>> It could be very useful for 3 reason. >> This will surely break git mirrors. > Sounds like the git mirror's problem.I don't think the git mirror would be *terribly* broken, it'd just never see the commit message change. But, the annoying part would be if/when someone recreated the git mirror, as it would then contain the new commit message, and thus that commit and all subsequent commits would have a different commit-hash. This will similarly "break" anyone's svn mirrors (e.g. done by svnsync), as it cannot automatically detect that a commit message has been updated. If you were paying attention, you could copy the new data via svnsync copy-revprops, but that basically requires manual interaction. Independently of those particular breakages, it's just a terrible idea to allow unversioned modifications to be made to the version control's historical record. That's the kind of thing that should only ever be done in truly exceptional cases by a repository admin. -1 to ever enabling revprop changes.
On Tue, Jul 28, 2015 at 10:01 PM, Tim Northover <t.p.northover at gmail.com> wrote:>>> This will surely break git mirrors. >> >> Sounds like the git mirror's problem. > > And every user of those mirrors, unless we have the resources to forge > a SHA1 hash for the new commit message.Caveat: I'm not a git expert, but we could export the changed svn commit message as a "note" to the corresponding git commit.> > Tim. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Seemingly Similar Threads
- [LLVMdev] Request: Changing commit message in llvm trunk
- [LLVMdev] Request: Changing commit message in llvm trunk
- [LLVMdev] Request: Changing commit message in llvm trunk
- [LLVMdev] Request: Changing commit message in llvm trunk
- [LLVMdev] Request: Changing commit message in llvm trunk