Staging
v0.8.1
Revision a0b54e7b73415f92225ddf29fe655399bafd4938 authored by Jonas Fonseca on 14 March 2008, 21:38:18 UTC, committed by Junio C Hamano on 15 March 2008, 07:05:18 UTC
Tell xmlto to repress printing of the lines:

	Note: meta date   : No date. Using generated date       git-xyx
	Note: Writing git-xyz.1

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ac37863
Raw File
builtin-annotate.c
/*
 * "git annotate" builtin alias
 *
 * Copyright (C) 2006 Ryan Anderson
 */
#include "git-compat-util.h"
#include "builtin.h"

int cmd_annotate(int argc, const char **argv, const char *prefix)
{
	const char **nargv;
	int i;
	nargv = xmalloc(sizeof(char *) * (argc + 2));

	nargv[0] = "annotate";
	nargv[1] = "-c";

	for (i = 1; i < argc; i++) {
		nargv[i+1] = argv[i];
	}
	nargv[argc + 1] = NULL;

	return cmd_blame(argc + 1, nargv, prefix);
}
back to top