diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-15 15:08:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-15 15:08:26 -0700 |
commit | 30cf1911e2119eda55d9376c9cc2eda893fe6692 (patch) | |
tree | e54092c0e0c17faccffeceef5e2f6a33bbabc2b9 /cache.h | |
parent | 88f240734fb2df7d4fe0a26f86434049429a3a5e (diff) | |
parent | 12861e200a0e530f5293374a9507c6aea0359e25 (diff) | |
download | git-30cf1911e2119eda55d9376c9cc2eda893fe6692.tar.gz |
Merge branch 'js/vscode'
Add a script (in contrib/) to help users of VSCode work better with
our codebase.
* js/vscode:
vscode: let cSpell work on commit messages, too
vscode: add a dictionary for cSpell
vscode: use 8-space tabs, no trailing ws, etc for Git's source code
vscode: wrap commit messages at column 72 by default
vscode: only overwrite C/C++ settings
mingw: define WIN32 explicitly
cache.h: extract enum declaration from inside a struct declaration
vscode: hard-code a couple defines
contrib: add a script to initialize VS Code configuration
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -1423,18 +1423,20 @@ extern void *read_object_with_reference(const struct object_id *oid, extern struct object *peel_to_type(const char *name, int namelen, struct object *o, enum object_type); +enum date_mode_type { + DATE_NORMAL = 0, + DATE_RELATIVE, + DATE_SHORT, + DATE_ISO8601, + DATE_ISO8601_STRICT, + DATE_RFC2822, + DATE_STRFTIME, + DATE_RAW, + DATE_UNIX +}; + struct date_mode { - enum date_mode_type { - DATE_NORMAL = 0, - DATE_RELATIVE, - DATE_SHORT, - DATE_ISO8601, - DATE_ISO8601_STRICT, - DATE_RFC2822, - DATE_STRFTIME, - DATE_RAW, - DATE_UNIX - } type; + enum date_mode_type type; const char *strftime_fmt; int local; }; |