Revision 5f42ac921fe06bbb80df82d8fa5cb15701ec2f60 authored by J. Bruce Fields on 05 August 2007, 23:16:09 UTC, committed by J. Bruce Fields on 05 August 2007, 23:18:05 UTC
It was a neat trick to show that you could introduce the git-add manual
page without using the word "index", and it was certainly an improvement
over the previous man page (which started out "A simple wrapper for
git-update-index to add files to the index...").

But it's possible to use the standard terminology without sacrificing
user-friendliness.  So, rewrite to use the word "index" when
appropriate.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
1 parent 4e0b2bb
Raw File
builtin-check-ref-format.c
/*
 * GIT - The information manager from hell
 */

#include "cache.h"
#include "refs.h"
#include "builtin.h"

int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
{
	if (argc != 2)
		usage("git-check-ref-format refname");
	return !!check_ref_format(argv[1]);
}
back to top