Re: [PATCH V2] config: add --expiry-date

2017-11-15 Thread hsed
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

Re: [PATCH V2] config: add --expiry-date

2017-11-14 Thread Marc Branchaud
On 2017-11-14 01:21 AM, Christian Couder wrote: On Tue, Nov 14, 2017 at 3:04 AM, wrote: 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 i

Re: [PATCH V2] config: add --expiry-date

2017-11-13 Thread Junio C Hamano
h...@unimetic.com writes: > 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

Re: [PATCH V2] config: add --expiry-date

2017-11-13 Thread Christian Couder
On Tue, Nov 14, 2017 at 3:04 AM, wrote: > 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

[PATCH V2] config: add --expiry-date

2017-11-13 Thread hsed
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

[PATCH V2] config: add --expiry-date

2017-11-13 Thread hsed
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