Skip to content
Snippets Groups Projects
Commit efa8b52d authored by Shawn Pearce's avatar Shawn Pearce
Browse files

Fix server side NPE during push to empty repository


If the repository is empty, we have no HEAD branch, which means we
can't test to see if the HEAD is detached and should be advertised
as a .have line.

Change-Id: I6e85f836e7db057cede812d0d6c1aecbd6cbe6c5
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
parent 8c2d0455
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment