git/perl/Git/SVN
brian m. carlson 94b2ee1aee perl: make SVN code hash independent
There are several places throughout git-svn that use various hard-coded
constants.  For matching object IDs, use the $oid variable.  Compute the
record size we use for our revision storage based on the object ID.

When parsing the revision map format, use a wildcard in the pack format
since we know that the data we're parsing is always exactly the record
size.  This lets us continue to use a constant for the pack format.

Finally, update several comments to reflect the fact that an object ID
may be of one of multiple sizes.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Acked-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-06-22 11:21:07 -07:00
..
Memoize git-svn: use YAML format for mergeinfo cache when possible 2012-06-10 08:47:53 +00:00
Editor.pm perl: make SVN code hash independent 2020-06-22 11:21:07 -07:00
Fetcher.pm perl: make SVN code hash independent 2020-06-22 11:21:07 -07:00
GlobSpec.pm git-svn: shorten glob error message 2016-03-15 01:35:39 +00:00
Log.pm perl: create and switch variables for hash constants 2020-06-22 11:21:07 -07:00
Migration.pm git-svn: "git worktree" awareness 2016-10-14 01:36:12 +00:00
Prompt.pm Git::SVN::*: add missing "NAME" section to perldoc 2013-05-09 01:07:58 +00:00
Ra.pm perl: make SVN code hash independent 2020-06-22 11:21:07 -07:00
Utils.pm git svn: do not overescape URLs (fallback case) 2013-01-17 23:28:12 +00:00