builtin/branch: strip refs/heads/ using skip_prefix
[gitweb.git] / branch.c
index 3e8d2f93f8be6b4c92c17d6bb682719fb03f5e41..bd607ae979f6c0a1b93ee89a0facdd818ea64e64 100644 (file)
--- a/branch.c
+++ b/branch.c
@@ -228,7 +228,7 @@ N_("\n"
 "\"git push -u\" to set the upstream config as you push.");
 
 void create_branch(const char *name, const char *start_name,
-                  int force, int reflog, int clobber_head_ok,
+                  int force, int clobber_head_ok, int reflog,
                   int quiet, enum branch_track track)
 {
        struct commit *commit;