diff options
author | Olga Telezhnaya <olyatelezhnaya@gmail.com> | 2017-12-12 08:55:35 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-12 10:39:43 -0800 |
commit | cf3947193c496132f653cc19ecb2771afd0acd1e (patch) | |
tree | 84832eab3fa2232456a9b4728b7528cd3096fef5 /builtin | |
parent | 3013dff8662eae06457fe6e5348dfe2270810ab2 (diff) | |
download | git-cf3947193c496132f653cc19ecb2771afd0acd1e.tar.gz git-cf3947193c496132f653cc19ecb2771afd0acd1e.tar.xz |
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 e435286dd..166bb3f76 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 9cd89b230..43c851469 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 6fa1f62a8..f4069d6ec 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" |