Skip to content

Commit

Permalink
Fix the compilation of the command-line tool
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Jun 19, 2015
1 parent 7c99014 commit b6fbec5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/ir_cli.ml
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,9 @@ let clone = {
store >>= fun t ->
remote >>= fun remote ->
Sync.fetch (t "Cloning.") ?depth remote >>= function
| Some d -> S.update_head (t "update head after clone") d
| None -> return_unit
| `Head d -> S.update_head (t "update head after clone") d
| `No_head -> return_unit
| `Error -> Printf.eprintf "Error!\n"; exit 1
end
in
Term.(mk clone $ store $ remote $ depth);
Expand Down

0 comments on commit b6fbec5

Please sign in to comment.