….__getattr__` gets in the way.
… the `RevCache` tuple.
Make use of the new encoding handling implemented in the `PyGit.Storage`. So now Trac should always get pathnames as unicode objects. A new TracIni option `git_fs_encoding` can be used to change the default utf8 encoding. This implementation assumes `from_unicode(to_unicode(.))` to be an identity function.
This optional parameter allows to enable on-the-fly en/decoding of bytestrings (as seen by git) from/to unicode objects (as seen by Trac)
Mostly whitespace changes
The `Branches` property is rendered as links to the reachable branch tips labeled by the branch name. While at it, refactor joining of rendered property list items with new `intersperse()` helper function.
This results in branch annotations in the timeline view. For now, GitChangeset.get_branches() returns all the branches the given changeset is on, or to quote the `git branch` man-page: "In other words, the branches whose tip commits are descendants of the named commit."
…de more readabale
Also switch to `git rev-list --topo-order` traversal in order to avoid a 2nd pass in Python.
This introduces a new option `wiki_shortrev_len`, which defines the minimum length for which hex-strings are interpreted as sha ids.
...as suggested in http://trac-hacks.org/ticket/2685#comment:12
Merge commit display code has been "reused" from TracMercurial
Addresses issue raised in http://trac-hacks.org/ticket/7246
Without this workaround gitplugin triggers runtime exceptions. See also http://trac-hacks.org/ticket/3104
…according to PEP-8
- `trac_user_rlookup` (disabled by default) - `use_committer_id` (enabled by default) - `use_committer_time` (enabled by default) The chosen defaults correspond to the previous behaviour
…ormat_author` and `format_datetime`; fixes #5385
…email@example.com (see #6554)
…re for grabbing blob size instead of individual `cat-file -s` calls; bump up minimum required git version to 1.5.6