pygit2 0.20.0 adds support for blame

New in this release is support for blame, and upgrade to libgit2 0.20. Detailed list of changes follows.

Changes:

  • Renamed Repository.head_is_orphaned to Repository.head_is_unborn
  • Repository.listall_references and Repository.listall_branches now return a list, instead of a tuple
  • The prototype of clone_repository changed
  • Added support for blame
  • New:
    • Reference.log_append(...)
    • Reference.shorthand
    • Blog.is_binary
    • len(Diff)
    • Patch.additions
    • Patch.deletions
    • Patch.is_binary

Thanks to:

  • Carlos Martín Nieto
  • Xu Tao
  • Huang Huang
  • Petr Hosek

Resources:

Enjoy!


Posted

in

by

Tags:

Comments

Leave a Reply