Name |
Last commit
|
Last update |
---|---|---|
.. | ||
checkedout.c | ||
create.c | ||
delete.c | ||
ishead.c | ||
iterator.c | ||
lookup.c | ||
move.c | ||
name.c | ||
remote.c | ||
upstream.c | ||
upstreamname.c |
In a bare repository, HEAD usually points to the branch that is considered the "default" branch. As the current implementation for `git_branch_is_checked_out` only does a comparison of HEAD with the branch that is to be checked, it will say that the branch pointed to by HEAD in such a bare repo is checked out. Fix this by skipping the main repo's HEAD when it is bare.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
checkedout.c | Loading commit data... | |
create.c | Loading commit data... | |
delete.c | Loading commit data... | |
ishead.c | Loading commit data... | |
iterator.c | Loading commit data... | |
lookup.c | Loading commit data... | |
move.c | Loading commit data... | |
name.c | Loading commit data... | |
remote.c | Loading commit data... | |
upstream.c | Loading commit data... | |
upstreamname.c | Loading commit data... |