Skip to content

Commit

Permalink
add deprecation to LibGit2.cat
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Feb 3, 2017
1 parent 3c20d76 commit 3ebfe94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ eval(Base.LibGit2, quote
@deprecate revparse(repo::GitRepo, objname::AbstractString) GitObject(repo, objname) false
@deprecate object(repo::GitRepo, te::GitTreeEntry) GitObject(repo, te) false
@deprecate commit(ann::GitAnnotated) GitHash(ann) false
@deprecate cat{T<:GitObject}(repo::GitRepo, ::Type{T}, object::AbstractString) cat(repo, object)
end)

# when this deprecation is deleted, remove all calls to it, and all
Expand Down

0 comments on commit 3ebfe94

Please sign in to comment.