Conversation

Jonathan Corbet

On the radar: a new (WIP) document describing future incompatible changes in Git:

https://lwn.net/ml/git/cover.1717141598.git.ps@pks.im/

Included therein is the switch to sha256 to hash objects, seemingly planned for Git 3.0.
3
11
11

@corbet sha256 git repos are currently incompatible with submodules - a sha1 git repo cannot have sha256 submodule linked to it. One of the repositories we were using switched unexpectedly, hilarity ensued.

Hope that is fixed before the switch happens...

2
0
0

@bluca @corbet Do you know if the reverse is possible. i.e. a sha256 repo using a sha1 repo as a submodule?

1
0
0

@bluca @corbet have you reported that? If so, what is the link to the mailing list.

0
0
0

@corbet Interesting read. Since most (not all) implementations of git support reading sha256 and have for a while, it doesn't seem like too much of a stretch to default to writing it at some point. (Also in this proposal: no plans to remove git checkout any time soon, with some discussion of why).

0
0
0

@corbet grml… I use grafting (plus rewriting) in my cvs2git scriptset to export converted modules, and it does the job very well.

0
0
0