Skip to content

Commit

Permalink
add deprecation to LibGit2.cat (JuliaLang#20435)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Feb 6, 2017
1 parent 1e085b9 commit 7f34449
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 @@ -1189,6 +1189,7 @@ end
@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 7f34449

Please sign in to comment.