https://github.com/git/git
Revision 1b555932cdb7f75239623573cd2ff25fa98ab4e4 authored by Linus Torvalds on 26 January 2007, 00:51:21 UTC, committed by Junio C Hamano on 26 January 2007, 03:16:07 UTC
Do *NOT* try this on a repository you care about:

	git pack-refs --all --prune
	git pack-refs

because while the first "pack-refs" does the right thing, the second
pack-refs will totally screw you over.

This is because the second one tries to pack only tags; we should
also pack what are already packed -- otherwise we would lose them.

[jc: with an additional test]

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 535514f
Raw File
Tip revision: 1b555932cdb7f75239623573cd2ff25fa98ab4e4 authored by Linus Torvalds on 26 January 2007, 00:51:21 UTC
Fix seriously broken "git pack-refs"
Tip revision: 1b55593
rsh.h
#ifndef RSH_H
#define RSH_H

int setup_connection(int *fd_in, int *fd_out, const char *remote_prog, 
		     char *url, int rmt_argc, char **rmt_argv);

#endif
back to top