Jelmer Vernooij
|
3ef350ae67
Add docstrings for parse_timezone and format_timezone.
|
15 anni fa |
Jelmer Vernooij
|
335684667e
Add Blob.__slots__.
|
15 anni fa |
Jelmer Vernooij
|
f11a24eb4d
Use slots.
|
15 anni fa |
Jelmer Vernooij
|
2548d296ea
Some restructuredText fixes.
|
15 anni fa |
Jelmer Vernooij
|
d68b171e89
parse_tree: Fix tests for pure-python implementation.
|
15 anni fa |
Jelmer Vernooij
|
484bdb4c16
Fix tests.
|
15 anni fa |
Jelmer Vernooij
|
5c19b99b1c
When restting ShaFile._file, also reset ShaFile._magic.
|
15 anni fa |
Jelmer Vernooij
|
7e6b19d34e
Fix parsing from file-like objects.
|
15 anni fa |
Dave Borowitz
|
1bdb4630c6
Clean up file headers.
|
15 anni fa |
Dave Borowitz
|
d9b23da152
Add tests for sorted_tree_items and C implementation.
|
15 anni fa |
Jelmer Vernooij
|
e81784d3e0
Merge improvements and extra tests, mainly to deal better with creating non-bare repositories.
|
15 anni fa |
Jelmer Vernooij
|
13ca3806a8
Make sure ids get updated when the object changes.
|
15 anni fa |
Jelmer Vernooij
|
ec5e249b3a
Add docstring.
|
15 anni fa |
Dave Borowitz
|
8955d91f3d
Clean up asserts in Tree.
|
15 anni fa |
Jelmer Vernooij
|
3fb7e4ac82
Allow non-os file-like objects passed to ShaFile.from_file.
|
15 anni fa |
Jelmer Vernooij
|
8c19f08078
Distinguish between ShaFile.from_file and ShaFile.from_path.
|
15 anni fa |
Dave Borowitz
|
6a4807f1c5
Hash packed objects without creating ShaFiles.
|
16 anni fa |
Dave Borowitz
|
7ad8df2265
Correctly avoid parsing ShaFiles with fixed SHAs when calling sha().
|
16 anni fa |
Jelmer Vernooij
|
df520c8ceb
Fix Blob._deserialize.
|
16 anni fa |
Dave Borowitz
|
2556f706bb
Make ShaFiles created from files trust their filenames.
|
16 anni fa |
Dave Borowitz
|
2c8dd44fcf
Lazily read the contents of ShaFiles from disk.
|
16 anni fa |
Dave Borowitz
|
cd832601ac
Check tag and commit objects for duplicate and out-of-order headers.
|
16 anni fa |
Jelmer Vernooij
|
8ea136a660
Preserve '-' sign when -0000 is stored for the timezone in a commit/tag.
|
16 anni fa |
Jelmer Vernooij
|
328bdcfa2e
Add Tree.__iter__.
|
16 anni fa |
Jelmer Vernooij
|
f6aa4aeabe
Remove unused import, always ensure that objects is serialized before running check().
|
16 anni fa |
Dave Borowitz
|
a4cebb6994
Add check() methods to object classes for consistency checking.
|
16 anni fa |
Jelmer Vernooij
|
7605a1af51
Fix import of NotTagError.
|
16 anni fa |
Dave Borowitz
|
fe36cc47e7
Change parse_tree to return a list rather than a dict.
|
16 anni fa |
Jelmer Vernooij
|
6208f44a8f
implement chunked version of ShaFile.as_legacy_object.
|
16 anni fa |
Dave Borowitz
|
b74084d133
Previously, the word "type" was massively overloaded in objects.py. It
|
16 anni fa |