Staging
v0.8.1
https://github.com/git/git
Revision 83cd10a05688e6429f9e65cffbe90683e9487800 authored by Jakub Narebski on 23 January 2007, 12:37:25 UTC, committed by Junio C Hamano on 24 January 2007, 01:35:48 UTC
Documentation/config.txt:
  Variable value ending in a '`\`' is continued on the next line in the
  customary UNIX fashion.

Test it.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent d7ebd53
Raw File
Tip revision: 83cd10a05688e6429f9e65cffbe90683e9487800 authored by Jakub Narebski on 23 January 2007, 12:37:25 UTC
t/t1300-repo-config.sh: value continued on next line
Tip revision: 83cd10a
test-date.c
#include "cache.h"

int main(int argc, char **argv)
{
	int i;

	for (i = 1; i < argc; i++) {
		char result[100];
		time_t t;

		memcpy(result, "bad", 4);
		parse_date(argv[i], result, sizeof(result));
		t = strtoul(result, NULL, 0);
		printf("%s -> %s -> %s", argv[i], result, ctime(&t));

		t = approxidate(argv[i]);
		printf("%s -> %s\n", argv[i], ctime(&t));
	}
	return 0;
}
back to top