summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
authorOlga Telezhnaya <olyatelezhnaya@gmail.com>2017-12-12 08:55:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-12 18:39:43 (GMT)
commitcf3947193c496132f653cc19ecb2771afd0acd1e (patch)
tree84832eab3fa2232456a9b4728b7528cd3096fef5 /builtin/reset.c
parent3013dff8662eae06457fe6e5348dfe2270810ab2 (diff)
downloadgit-cf3947193c496132f653cc19ecb2771afd0acd1e.zip
git-cf3947193c496132f653cc19ecb2771afd0acd1e.tar.gz
git-cf3947193c496132f653cc19ecb2771afd0acd1e.tar.bz2
format: create pretty.h file
Create header for pretty.c to make formatting interface more structured. This is a middle point, this file would be merged further with other files which contain formatting stuff. Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com> Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reset.c')
-rw-r--r--builtin/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/reset.c b/builtin/reset.c
index 9cd89b2..43c8514 100644
--- a/builtin/reset.c
+++ b/builtin/reset.c
@@ -12,7 +12,7 @@
#include "lockfile.h"
#include "tag.h"
#include "object.h"
-#include "commit.h"
+#include "pretty.h"
#include "run-command.h"
#include "refs.h"
#include "diff.h"