projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-apply: if no input files specified, apply stdin
[git.git]
/
commit-tree.c
diff --git
a/commit-tree.c
b/commit-tree.c
index
b8dd36f
..
e81e530
100644
(file)
--- a/
commit-tree.c
+++ b/
commit-tree.c
@@
-7,9
+7,7
@@
#include <pwd.h>
#include <time.h>
#include <pwd.h>
#include <time.h>
-#include <string.h>
#include <ctype.h>
#include <ctype.h>
-#include <time.h>
#define BLOCKING (1ul << 14)
#define BLOCKING (1ul << 14)
@@
-98,7
+96,7
@@
static void check_valid(unsigned char *sha1, const char *expect)
*/
#define MAXPARENT (16)
*/
#define MAXPARENT (16)
-static char *commit_tree_usage = "commit-tree <sha1> [-p <sha1>]* < changelog";
+static char *commit_tree_usage = "
git-
commit-tree <sha1> [-p <sha1>]* < changelog";
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{