On 2/12/2015 1:30 PM, j. van den hoff wrote:
....
> it would be good if the user could just do
`fossil set prefix-length 12' thus getting rid of the
> collisions and proceed. in short: an option to
customize the length might still be useful.

For small and young projects, a prefix of 10 feels long. I
have repositories where I am essentially the only committer
where a 6 character prefix is unambiguous.

For that case too, having `set prefix-length` seems quite
reasonable. It can default to 10, to minimize surprise to
users. It should probably treat anything less than 4 as
"silly", however. I anticipate that the painful part of
implementing this is the sweep through all the code that
displays hashes to regularize the format.

At the same time, removing the feature that extends the
prefix to include a hex digit makes sense.

--
Ross Berteig                               r...@cheshireeng.com
Cheshire Engineering Corp.           http://www.CheshireEng.com/

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to