Staging
v0.8.1
Revision a68972c2ad7c3de582abeed03f660e19950ed66f authored by Ping Yin on 10 April 2008, 14:45:29 UTC, committed by Junio C Hamano on 12 April 2008, 00:35:39 UTC
When "git submodule status" command tries to show the name of the
submodule HEAD revision more descriptively, but the submodule
repository lacked a suitable tag to do so, it leaked "fatal: cannot
describe" message to the UI.  Squelch it by using '--always'.

Signed-off-by: Ping Yin <pkufranky@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent b6309ac
Raw File
fetch-pack.h
#ifndef FETCH_PACK_H
#define FETCH_PACK_H

struct fetch_pack_args
{
	const char *uploadpack;
	int unpacklimit;
	int depth;
	unsigned quiet:1,
		keep_pack:1,
		lock_pack:1,
		use_thin_pack:1,
		fetch_all:1,
		verbose:1,
		no_progress:1,
		include_tag:1;
};

struct ref *fetch_pack(struct fetch_pack_args *args,
		int fd[], struct child_process *conn,
		const struct ref *ref,
		const char *dest,
		int nr_heads,
		char **heads,
		char **pack_lockfile);

#endif
back to top