From 7672db20c2060f20b01788e4a4289ebc5f818605 Mon Sep 17 00:00:00 2001 From: Bryan Larsen Date: Fri, 8 Jul 2005 16:51:55 -0700 Subject: [PATCH] Expose object ID computation functions. This patch makes the first half of write_sha1_file() and index_fd() externally visible, to allow callers to compute the object ID without actually storing it in the object database. [JC demangled the whitespaces himself because he liked the patch so much, and reworked the interface to index_fd() slightly, taking suggestion from Linus and of his own.] Signed-off-by: Bryan Larsen Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1add2ae6f5..11f5bcd90f 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ PROG= git-update-cache git-diff-files git-init-db git-write-tree \ git-check-files git-ls-tree git-merge-base git-merge-cache \ git-unpack-file git-export git-diff-cache git-convert-cache \ git-http-pull git-ssh-push git-ssh-pull git-rev-list git-mktag \ - git-diff-helper git-tar-tree git-local-pull git-write-blob \ + git-diff-helper git-tar-tree git-local-pull git-hash-object \ git-get-tar-commit-id git-apply git-stripspace \ git-diff-stages git-rev-parse git-patch-id git-pack-objects \ git-unpack-objects git-verify-pack git-receive-pack git-send-pack \ @@ -135,7 +135,7 @@ git-rev-list: rev-list.c git-mktag: mktag.c git-diff-helper: diff-helper.c git-tar-tree: tar-tree.c -git-write-blob: write-blob.c +git-hash-object: hash-object.c git-stripspace: stripspace.c git-diff-stages: diff-stages.c git-rev-parse: rev-parse.c -- cgit v1.2.1