Skip to content

Commit

Permalink
versioninfo: fix oscar branch+commit (#2875)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz committed Sep 29, 2023
1 parent 3a2bdf1 commit c09e930
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/src/General/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ DocTestSetup = quote
end
```

```@setup oscar
using Oscar
```

# Architecture

This page aims to give a short technical overview of the architecture of OSCAR.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/versioninfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function versioninfo(io::IO=stdout; branch=false, jll=false, julia=false, commit
branch = jll = julia = commit = true
end
print(io, "OSCAR version $(VERSION_NUMBER)")
println(io, branch ? _lookup_git_branch(dirname(@__DIR__); commit=commit) : "")
println(io, branch ? _lookup_git_branch(Oscar.oscardir; commit=commit) : "")
println(io, " combining:")
_print_dependency_versions(io, cornerstones; suffix=".jl", branch=branch, commit=commit)
if jll
Expand Down

0 comments on commit c09e930

Please sign in to comment.