Files
git/Documentation
Andy Parkins bfcc921430 Add support to git-branch to show local and remote branches
Instead of storing a list of refnames in append_ref, a list of
structures is created.  Each of these stores the refname and a
symbolic constant representing its type.

The creation of the list is filtered based on a command line
switch; no switch means "local branches only", "-r" means "remote
branches only" (as they always did); but now "-a" means "local
branches or remote branches".

As a side effect, the list is now not global, but allocated in
print_ref_list() where it used.

Also a memory leak is plugged, the memory allocated during the
list creation was never freed.

It lays a groundwork to also display tags, but the command being
'git branch' it is not currently used.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-11-21 21:26:12 -08:00
..
2005-11-08 08:58:52 -08:00
2006-10-13 21:37:10 -07:00
2006-03-02 00:52:59 -08:00
2006-05-24 22:29:23 -07:00
2006-06-07 11:49:35 -07:00
2006-07-01 17:09:01 -07:00
2006-06-07 11:49:35 -07:00
2006-07-09 02:42:41 -07:00
2006-09-27 23:59:09 -07:00
2006-07-09 02:42:41 -07:00
2006-07-09 02:42:41 -07:00
2006-07-09 02:42:41 -07:00
2006-07-09 02:42:41 -07:00
2006-06-03 23:54:55 -07:00
2006-06-17 17:56:52 -07:00
2006-11-06 22:56:07 -08:00
2006-10-22 22:51:42 -07:00
2006-06-03 23:54:55 -07:00
2006-11-07 16:33:59 -08:00
2006-11-18 14:04:45 -08:00
2006-06-03 23:54:55 -07:00
2006-07-09 02:42:41 -07:00
2006-09-09 11:57:37 -07:00
2006-06-21 02:34:14 -07:00
2006-05-01 22:29:16 -07:00
2006-11-18 14:04:45 -08:00
2006-09-20 09:00:14 -07:00
2006-06-24 01:11:19 -07:00
2006-09-13 23:39:33 -07:00
2006-10-23 13:19:49 -07:00