12 Commits

Author SHA1 Message Date
J. David Ibáñez
1e1750f8da Merge remote branch 'perth/master' 2012-05-31 13:32:25 +02:00
J. David Ibáñez
a55d4da18a Merge remote branch 'cholin/head_getter' 2012-05-31 09:52:54 +02:00
Petr Hosek
d054788d19 Synchronized with upstream 2012-05-30 20:43:26 +01:00
Nico von Geyso
a8a0ac8290 use generator instead of python list 2012-05-30 15:57:35 +02:00
Nico von Geyso
e8c8fa29b7 Merge branch 'master' of https://github.com/libgit2/pygit2 into head_getter 2012-05-30 14:44:12 +02:00
Nico von Geyso
89354bc606 Merge branch 'master' of https://github.com/libgit2/pygit2 into reflog 2012-05-30 14:39:34 +02:00
Nico von Geyso
ce4e411135 added revlog 2012-05-30 14:39:02 +02:00
Nico von Geyso
ade2e5812c support for diff against workdir or index
Added missing support for a diff against workdir or an index.
The latter one differs from `git diff HEAD` because git itself
does a merge of workdir and index (see docs of git_diff_workdir_to_tree).
2012-05-30 07:58:31 +02:00
Petr Hosek
6aba5b65a2 Diff now invoked immediately and its result stored inside object to
avoid calls on repeated accesses and allow implementation of other
variants
Fixed indentation in diff implementation
2012-05-28 15:45:46 +01:00
Nico von Geyso
e402d0e9eb added head-getter for Repository
You do not have to lookup and resolve the HEAD reference anymore if you simply want
the last commit. Repository has now a head-getter which combines all these steps.

example:
  repo = Repository('.')
  head = repo.head
  print(head.message)
2012-05-28 12:41:43 +02:00
Nico von Geyso
e7b5560590 Merge branch 'master' of https://github.com/libgit2/pygit2 into refactoring
Conflicts:
	pygit2.c
2012-05-25 17:37:25 +02:00
Nico von Geyso
6b1a281edc refactoring pygit2.c into several small files
The whole extension was organised in one big 3727 lines monster.
This refactoring is splitting these 3727 lines into several smaller files.
2012-05-25 14:07:44 +02:00