git.samba.org
/
jelmer
/
dulwich-libgit2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77aec5
)
dul-daemon: Implement has_revision in backend
author
John Carr
<john.carr@unrouted.co.uk>
Wed, 17 Dec 2008 17:24:23 +0000
(17:24 +0000)
committer
John Carr
<john.carr@unrouted.co.uk>
Wed, 17 Dec 2008 17:24:23 +0000
(17:24 +0000)
bin/dul-daemon
patch
|
blob
|
history
diff --git
a/bin/dul-daemon
b/bin/dul-daemon
index c8469a874e88b697fc0bb5c3e01b9da8fe01ee69..b0faf0d6b0bc140b1d8545c4137aa42368fd5f52 100755
(executable)
--- a/
bin/dul-daemon
+++ b/
bin/dul-daemon
@@
-42,7
+42,7
@@
class GitBackend(Backend):
return refs
def has_revision(self, sha):
- return
Fals
e
+ return
self.repo.get_object(sha) != Non
e
def apply_pack(self, refs, read):
# store the incoming pack in the repository