git/branch.h
Daniel Barkalow e496c00348 Move create_branch into a library file
You can also create branches, in exactly the same way, with checkout -b.

This introduces branch.{c,h} library files for doing porcelain-level
operations on branches (such as creating them with their appropriate
default configuration).

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
2008-02-09 23:16:51 -08:00

9 lines
167 B
C

#ifndef BRANCH_H
#define BRANCH_H
void create_branch(const char *head,
const char *name, const char *start_name,
int force, int reflog, int track);
#endif