diff options
author | Olga Telezhnaya <olyatelezhnaya@gmail.com> | 2017-12-12 11:55:35 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-12 21:39:43 +0300 |
commit | cf3947193c496132f653cc19ecb2771afd0acd1e (patch) | |
tree | 84832eab3fa2232456a9b4728b7528cd3096fef5 /builtin | |
parent | 3013dff8662eae06457fe6e5348dfe2270810ab2 (diff) |
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')
-rw-r--r-- | builtin/notes.c | 2 | ||||
-rw-r--r-- | builtin/reset.c | 2 | ||||
-rw-r--r-- | builtin/show-branch.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/builtin/notes.c b/builtin/notes.c index e435286dd8..166bb3f766 100644 --- a/builtin/notes.c +++ b/builtin/notes.c @@ -12,7 +12,7 @@ #include "builtin.h" #include "notes.h" #include "blob.h" -#include "commit.h" +#include "pretty.h" #include "refs.h" #include "exec_cmd.h" #include "run-command.h" diff --git a/builtin/reset.c b/builtin/reset.c index 9cd89b2305..43c8514695 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" diff --git a/builtin/show-branch.c b/builtin/show-branch.c index 6fa1f62a88..f4069d6ec8 100644 --- a/builtin/show-branch.c +++ b/builtin/show-branch.c @@ -1,6 +1,6 @@ #include "cache.h" #include "config.h" -#include "commit.h" +#include "pretty.h" #include "refs.h" #include "builtin.h" #include "color.h" |