Revision f0243f26f6d8403cd8e83c7d498c81e01a1f1735 authored by Johannes Schindelin on 28 October 2005, 02:48:32 UTC, committed by Junio C Hamano on 29 October 2005, 05:56:59 UTC
This patch is based on Junio's proposal. It marks parents of common revs so that they do not clutter up the has_sha1 array. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent eebda31
test-date.c
#include <stdio.h>
#include <time.h>
#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));
}
return 0;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...