builtin-check-ref-format.con commit Revert part of 1abf095 (git-add: adjust to the get_pathspec() changes) (6c53e7a)
   1/*
   2 * GIT - The information manager from hell
   3 */
   4
   5#include "cache.h"
   6#include "refs.h"
   7#include "builtin.h"
   8
   9int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
  10{
  11        if (argc != 2)
  12                usage("git-check-ref-format refname");
  13        return !!check_ref_format(argv[1]);
  14}