"hash" mangling was stripping suffixes from filenames with a dot/period character. This was made visible only after the fix for 6939 because till then hash wasn't really working at all. Jeremy already has a fix worked up to restore the dot. (It was being intentionally removed in a const string.) This does not affect hash2 (the default method).
Example case to help if anyone searches for this: The directory "OpenOffice.org" will be displayed as "OpenOffice" in windows clients and smbclient. However, attempting to open that directory will fail unless you include the (invisible) ".org"
Created attachment 5106 [details] git-am format patch for 3.4.4.
Created attachment 5107 [details] git-am format patch for 3.3.10
Pushed. Closing out bug report. Thanks!