Jelmer Vernooij
|
61c9a751f4
Rename dulwich.misc => dulwich._compat.
|
пре 15 година |
Augie Fackler
|
4066f9c3cb
objects.parse_tree: more gracefully handle invalid modes in trees
|
пре 15 година |
Dave Borowitz
|
e67b62f74f
objects: Allow tree entries to be sorted by name.
|
пре 15 година |
Augie Fackler
|
4f94dbf045
objects: clean up trailing whitespace
|
пре 15 година |
Dave Borowitz
|
3461ff3bbb
Subclass TreeEntry in objects.py.
|
пре 15 година |
Dave Borowitz
|
f749f272c4
Make TreeEntry a namedtuple for clarity.
|
пре 15 година |
Jelmer Vernooij
|
dd7fe05372
Add Tree.items().
|
пре 15 година |
Jelmer Vernooij
|
a18d1cffc7
Add docstrings for parse_timezone and format_timezone.
|
пре 15 година |
Jelmer Vernooij
|
2611c2de12
Add Blob.__slots__.
|
пре 15 година |
Jelmer Vernooij
|
2316ca04d9
Use slots.
|
пре 15 година |
Jelmer Vernooij
|
2a89fff246
Some restructuredText fixes.
|
пре 15 година |
Jelmer Vernooij
|
94c7cbfd71
parse_tree: Fix tests for pure-python implementation.
|
пре 15 година |
Jelmer Vernooij
|
91ee60cd30
Fix tests.
|
пре 15 година |
Jelmer Vernooij
|
dcd2f95e9e
When restting ShaFile._file, also reset ShaFile._magic.
|
пре 15 година |
Jelmer Vernooij
|
6a5e43cde8
Fix parsing from file-like objects.
|
пре 15 година |
Dave Borowitz
|
e950bdd711
Clean up file headers.
|
пре 15 година |
Dave Borowitz
|
06867d6fbf
Add tests for sorted_tree_items and C implementation.
|
пре 15 година |
Jelmer Vernooij
|
e352c25c8c
Merge improvements and extra tests, mainly to deal better with creating non-bare repositories.
|
пре 15 година |
Jelmer Vernooij
|
ebd7fb9151
Make sure ids get updated when the object changes.
|
пре 15 година |
Jelmer Vernooij
|
551770f869
Add docstring.
|
пре 15 година |
Dave Borowitz
|
26cdd397bb
Clean up asserts in Tree.
|
пре 16 година |
Jelmer Vernooij
|
87fe92ea91
Allow non-os file-like objects passed to ShaFile.from_file.
|
пре 16 година |
Jelmer Vernooij
|
82f0ee09db
Distinguish between ShaFile.from_file and ShaFile.from_path.
|
пре 16 година |
Dave Borowitz
|
7f4238d888
Hash packed objects without creating ShaFiles.
|
пре 16 година |
Dave Borowitz
|
00c3b6a137
Correctly avoid parsing ShaFiles with fixed SHAs when calling sha().
|
пре 16 година |
Jelmer Vernooij
|
2c2265b3ec
Fix Blob._deserialize.
|
пре 16 година |
Dave Borowitz
|
5e7ba36ab6
Make ShaFiles created from files trust their filenames.
|
пре 16 година |
Dave Borowitz
|
113d3d4461
Lazily read the contents of ShaFiles from disk.
|
пре 16 година |
Dave Borowitz
|
cb4ffb30ba
Check tag and commit objects for duplicate and out-of-order headers.
|
пре 16 година |
Jelmer Vernooij
|
46890ceb71
Preserve '-' sign when -0000 is stored for the timezone in a commit/tag.
|
пре 16 година |