Move create_branch into a library file
authorDaniel Barkalow <barkalow@iabervon.org>
Thu, 7 Feb 2008 16:40:08 +0000 (11:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Feb 2008 07:16:51 +0000 (23:16 -0800)
commite496c00348140e73bdd202443df52192f6928541
tree4c14c048a7cf56b8c5cc4a1ef5d51eb24cde04c8
parente1b3a2cad79a8138d18593c6eb3c46906ad2ee42
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>
Makefile
branch.c [new file with mode: 0644]
branch.h [new file with mode: 0644]
builtin-branch.c