Skip to content

Commit

Permalink
Update NEWS, fix style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Dec 1, 2015
1 parent 68cd0d2 commit dc2e0aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* Add a `dulwich.archive` module that can create tarballs.
Based on code from Jonas Haag in klaus.

* Fix handling of ambiguous refs in `parse_ref` to make
it match the behaviour described in https://git-scm.com/docs/gitrevisions.
(Chris Bunney)

BUG FIXES

* Simplify handling of SSH command invocation.
Expand Down
2 changes: 1 addition & 1 deletion dulwich/objectspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def parse_ref(container, refspec):
b"refs/tags/" + refspec,
b"refs/heads/" + refspec,
b"refs/remotes/" + refspec,
b"refs/remotes/"+refspec+b"/HEAD"
b"refs/remotes/" + refspec + b"/HEAD"
]
for ref in possible_refs:
if ref in container:
Expand Down

0 comments on commit dc2e0aa

Please sign in to comment.