Hi, On Sat, 20 Jan 2007, Junio C Hamano wrote:Actually, you do pass tz, but with a fixed value of 0. But this is only a workaround. The thing is, if you pass the same timestamp with a different timezone, absolute (non-relative) date will show the same time, i.e. 22:24 +0000 is the same as 23:24 +0100. Now I expect the same of relative mode, only that the timezone does not matter for relative mode _at all_. As you can see in my patch for --walk-reflogs (to honour --relative-date), it can make sense to pass make the choice whether to show a relative or an absolute date a runtime option (where you don't want to set tz to 0 depending on relativa_date). I guess nobody realized that "git log --relative-date" does not work correctly (for all commits which were not committed in tz +0000), is due to its narrowspread use, or that it is not all that obviously wrong. However, I was very surprised when "git log --walk-reflogs --relative-date" showed me "in the future" for my last commits. If you don't want to think it through, please just verify my reasoning by compiling the script I gave with the patch both before and after applying the patch. The absolute dates _and_ the relative dates should be all the same, but the relative date with non-zero timezone is displayed as "in the future" withouth the patch. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Ondrej Zary | pata_it821x completely broken |
| Jeremy Fitzhardinge | [PATCH 02 of 36] x86: add memory clobber to save/loadsegment |
| Thomas Renninger | AMD Mobile Semprons (3500+, 3600+,...) break with nohz and highres enabled |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Jakub Narebski | Octopus merge: unique (?) to git, but is it useful? |
| Junio C Hamano | [ANNOUNCE] GIT 1.5.3-rc4 |
| Theodore Tso | Re: git on MacOSX and files with decomposed utf-8 file names |
| qw er | OpenBSD sucks |
| Richard Stallman | Real men don't attack straw men |
| Henning Brauer | Re: About Xen: maybe a reiterative question but .. |
| Kevin Neff | Patching a SSH 'Weakness' |
| David Miller | [GIT]: Networking |
| Steve Wise | pktgen question |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Waskiewicz Jr, Peter P | RE: [PATCH 2/3][NET_BATCH] net core use batching |
