author | Daniel Barkalow <barkalow@iabervon.org> | |
Tue, 10 Jul 2007 04:47:23 +0000 (00:47 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 10 Jul 2007 06:39:59 +0000 (23:39 -0700) | ||
commit | dfd255dd1a7c04ad24891db50e5d80d96f93fd4a | |
tree | 0a7640ebb74f4f2b60ccc1dbc7cc87070b777f04 | tree | snapshot |
parent | 54dadbdb29668fbd51effefd0a0c65d915f5422b | commit | diff |
Add allocation and freeing functions for struct refs
Instead of open-coding allocation wherever it happens, have a function.
Also, add a function to free a list of refs, which we currently never
actually do.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Instead of open-coding allocation wherever it happens, have a function.
Also, add a function to free a list of refs, which we currently never
actually do.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c | diff | blob | history | |
remote.c | diff | blob | history | |
remote.h | diff | blob | history |