summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-05 19:30:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-05 19:30:13 (GMT)
commit7b09c459d346d9bf30ab07921a9b0ee91405d104 (patch)
treebfbb19307f204ca82609d0fcbb281aacb6277e4c /cache.h
parent297ae7151f85b677e58d6804d35e88d1375abaeb (diff)
parent99264e93fc87bdd61f646c53878782947d476da8 (diff)
downloadgit-7b09c459d346d9bf30ab07921a9b0ee91405d104.zip
git-7b09c459d346d9bf30ab07921a9b0ee91405d104.tar.gz
git-7b09c459d346d9bf30ab07921a9b0ee91405d104.tar.bz2
Merge branch 'jk/date-local'
"git log --date=local" used to only show the normal (default) format in the local timezone. The command learned to take 'local' as an instruction to use the local timezone with other formats, e.g. "git show --date=rfc-local". * jk/date-local: t6300: add tests for "-local" date formats t6300: make UTC and local dates different date: make "local" orthogonal to date format date: check for "local" before anything else t6300: add test for "raw" date format t6300: introduce test_date() helper fast-import: switch crash-report date to iso8601 Documentation/rev-list: don't list date formats Documentation/git-for-each-ref: don't list date formats Documentation/config: don't list date formats Documentation/blame-options: don't list date formats
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 79066e5..752031e 100644
--- a/cache.h
+++ b/cache.h
@@ -1091,7 +1091,6 @@ struct date_mode {
DATE_NORMAL = 0,
DATE_RELATIVE,
DATE_SHORT,
- DATE_LOCAL,
DATE_ISO8601,
DATE_ISO8601_STRICT,
DATE_RFC2822,
@@ -1099,6 +1098,7 @@ struct date_mode {
DATE_RAW
} type;
const char *strftime_fmt;
+ int local;
};
/*