git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Is there way to set git commit --date to be older than 1970 ?

From
PVPeter Vojtek <peter.vojtek@gmail.com>
Date
Oct 29, 2014, 19:50 UTC
Message-ID
<CAOE_JxJ5fUmSTcb4VF+K=y8gej2GqzQJrimt8fVn=gUL6veyqg@mail.gmail.com>
In-Reply-To
<20141029191914.GA16599@paksenarrion.iveqy.com>
thanks for quick response, Fredrik.
> I'm curious, why did you choose git for this? Maybe this is a use case
we should consider?
this is a part of "thinking out of the box" mental execise.

With the advent of many tools to visualize and analyze git repositories, it makes some sense to use the underlying beauty and power of git for unusual use cases. Similar evolution happened to javascript (originally a simple language to apply form validations on browser side).

Here are few other use cases which may be fun to realize with git:
- history of political parties in one country. when a party splits
into two, we create new branch, and when parties join, we merge
branches. branch name = party name. commiter name = party leader.
- how country populations evolve year by year. country is a file,
bytesize equals to its population.
- track evolution of some political document (e.g., u.s. constitution).
Peter
On Wed, Oct 29, 2014 at 8:19 PM, Fredrik Gustafsson <iveqy@iveqy.com> wrote:
Show 17 quoted lines
> On Wed, Oct 29, 2014 at 07:49:19PM +0100, Peter Vojtek wrote:
>> I am playing with git in slightly unusual manner - e.g., to use git to
>> store history of europe:
>
> Actually you're the second person I hear that is trying to use git as a
> timeline of some sort. The previous person had the exact same problem.
> Unfortunately I couldn't find a mailthread about it in the archives.
>
> I'm curious, why did you choose git for this? Maybe this is a use case
> we should consider?
>
> --
> Med vänlig hälsning
> Fredrik Gustafsson
>
> tel: 0733-608274
> e-post: iveqy@iveqy.com
Previous: Fredrik GustafssonNext: Junio C Hamano
Message 3 of 9 in “Is there way to set git commit --date to be older than 1970 ?”
  1. Peter VojtekOct 29, 2014
  2. Fredrik GustafssonOct 29, 2014
  3. Peter VojtekOct 29, 2014
  4. Junio C HamanoOct 29, 2014
  5. Roberto Eduardo Decurnex GorositoOct 29, 2014
  6. Dan JohnsonOct 30, 2014
  7. Jeff KingOct 30, 2014
  8. Junio C HamanoOct 30, 2014
  9. Junio C HamanoOct 30, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.