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 60ef11b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,8 @@ eval(Base.LibGit2, quote
@deprecate get{T<:GitObject}(::Type{T}, repo::GitRepo, oid::GitHash, oid_size::Int) T(repo, GitShortHash(oid, oid_size)) false
@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 commit(ann::GitAnnotated) GitHash(ann) false
@deprecate cat{T<:GitObject}(repo::GitRepo, ::Type{T}, object::AbstractString) cat(repo, T(repo, object))
end)

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

0 comments on commit 60ef11b

Please sign in to comment.