Skip to content

Commit d8d9c7b

Browse files
committed
Add method "branches" to git services
1 parent cdea8a5 commit d8d9c7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/cb.rpc.git/service.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ GitRPCService.prototype.commits = function(args) {
5454
return this.repo.commits(args.ref, args.limit, args.skip);
5555
};
5656

57+
GitRPCService.prototype.branches = function(args) {
58+
return this.repo.branches();
59+
};
60+
5761
GitRPCService.prototype.commits_pending = function() {
5862
return this.repo.commits_pending();
5963
};

0 commit comments

Comments
 (0)