Commit History

Author SHA1 Message Date
  Jelmer Vernooij e352c25c8c Merge improvements and extra tests, mainly to deal better with creating non-bare repositories. 15 years ago
  Jelmer Vernooij ebd7fb9151 Make sure ids get updated when the object changes. 15 years ago
  Jelmer Vernooij 551770f869 Add docstring. 15 years ago
  Dave Borowitz 26cdd397bb Clean up asserts in Tree. 15 years ago
  Jelmer Vernooij 87fe92ea91 Allow non-os file-like objects passed to ShaFile.from_file. 15 years ago
  Jelmer Vernooij 82f0ee09db Distinguish between ShaFile.from_file and ShaFile.from_path. 15 years ago
  Dave Borowitz 7f4238d888 Hash packed objects without creating ShaFiles. 15 years ago
  Dave Borowitz 00c3b6a137 Correctly avoid parsing ShaFiles with fixed SHAs when calling sha(). 15 years ago
  Jelmer Vernooij 2c2265b3ec Fix Blob._deserialize. 15 years ago
  Dave Borowitz 5e7ba36ab6 Make ShaFiles created from files trust their filenames. 15 years ago
  Dave Borowitz 113d3d4461 Lazily read the contents of ShaFiles from disk. 15 years ago
  Dave Borowitz cb4ffb30ba Check tag and commit objects for duplicate and out-of-order headers. 15 years ago
  Jelmer Vernooij 46890ceb71 Preserve '-' sign when -0000 is stored for the timezone in a commit/tag. 15 years ago
  Jelmer Vernooij f6d9b89e61 Add Tree.__iter__. 15 years ago
  Jelmer Vernooij fa647db38b Remove unused import, always ensure that objects is serialized before running check(). 15 years ago
  Dave Borowitz eb2afb8aea Add check() methods to object classes for consistency checking. 15 years ago
  Jelmer Vernooij 28fc0595ea Fix import of NotTagError. 15 years ago
  Dave Borowitz cb9edefdec Change parse_tree to return a list rather than a dict. 15 years ago
  Jelmer Vernooij 0bc365cf36 implement chunked version of ShaFile.as_legacy_object. 15 years ago
  Dave Borowitz 50479d4930 Previously, the word "type" was massively overloaded in objects.py. It 15 years ago
  Jelmer Vernooij 997e077366 Accept chunked contents for apply_delta base texts. 15 years ago
  Jelmer Vernooij 2c87630398 Work with chunks internally in dulwich.objects. 15 years ago
  Jelmer Vernooij f2cd4d690f Rename _parse_text to _deserialize for consistency. 15 years ago
  Jelmer Vernooij 1ec064b8d8 Set needs_serialization/needs_parsing properties only in a few places. 15 years ago
  Jelmer Vernooij f97d50a2dc Use raw_length in pack generation. 15 years ago
  Jelmer Vernooij 6043b81a91 Work with chunks rather than StringIO internally when possible. 15 years ago
  Jelmer Vernooij 9b5d20ce62 Make ShaFile.serialize private (it's pointless to call for external users). 15 years ago
  Jelmer Vernooij ca3bea00d2 Provide C implementation of tree item sorter. 15 years ago
  Jelmer Vernooij f3732d3aa5 Support determining blob id without joining all chunks first. 15 years ago
  Jelmer Vernooij 35b699019c Allow accessing Blob contents as chunks. 15 years ago