#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "abspath.h"
#include "config.h"
#include "gettext.h"
#include "hex.h"
#include "object-file.h"
#include "object-store-ll.h"
#include "blob.h"
#include "quote.h"
#include "parse-options.h"
#include "setup.h"
#include "strbuf.h"
#include "write-or-die.h"
static int hash_literally(struct object_id *oid, int fd, const char *type, unsigned flags)
{ … }
static void hash_fd(int fd, const char *type, const char *path, unsigned flags,
int literally)
{ … }
static void hash_object(const char *path, const char *type, const char *vpath,
unsigned flags, int literally)
{ … }
static void hash_stdin_paths(const char *type, int no_filters, unsigned flags,
int literally)
{ … }
int cmd_hash_object(int argc,
const char **argv,
const char *prefix,
struct repository *repo UNUSED)
{ … }