On 2017-11-18 03:37, Junio C Hamano wrote:
I think this is more correct even within the context of this
function than dying, which suggests the need for a slightly related
(which is not within the scope of this change) clean-up within this
file as a #leftoverbits task. I think dying in these va
From: Haaris Mehmood
Add --expiry-date as a data-type for config files when
'git config --get' is used. This will return any relative
or fixed dates from config files as timestamps.
This is useful for scripts (e.g. gc.reflogexpire) that work
with timestamps so that '2.weeks' can be converted to
On 2017-11-16 00:54, Junio C Hamano wrote:
- if (parse_expiry_date(value, expire))
- return error(_("'%s' for '%s' is not a valid timestamp"),
-value, var);
...
+ if (parse_expiry_date(value, timestamp))
+ die(_("failed to pars
From: Haaris Mehmood
Add --expiry-date as a data-type for config files when
'git config --get' is used. This will return any relative
or fixed dates from config files as a timestamp value.
This is useful for scripts (e.g. gc.reflogexpire) that work
with timestamps so that '2.weeks' can be conve
On 2017-11-14 06:38, Junio C Hamano wrote:
h...@unimetic.com writes:
From: Haaris
Description:
This patch adds a new option to the config command.
...
Motivation:
A parse_expiry_date() function already existed for api calls,
this patch simply allows the function to be used from the command
From: Haaris
Description:
This patch adds a new option to the config command.
Uses flag --expiry-date as a data-type to covert date-strings to
timestamps when reading from config files (GET).
This flag is ignored on write (SET) because the date-string is stored in
config without performing any n
Description:
This patch adds a new option to the config command.
Enables flag --expiry-date as a data-type to covert date-strings to
timestamps when reading from config files (GET).
This flag is ignored on write (SET) because the date-string is stored in
config without performing any normalizatio
On 2017-11-12 14:55, Jeff King wrote:
Hi, and welcome to the list. Thanks for working on this (for those of
you on the list, this was one of the tasks at the hackathon this
weekend).
It was a pleasure meeting everyone and a great experience!
Kevin already mentioned a few things about the com
subscribe git
subscribe git
10 matches
Mail list logo