git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using Git as a Database
@ 2024-09-23  3:28 Mateusz Wielgos
  2024-09-23  3:48 ` [External] " 韩仰
  2024-09-25 16:47 ` Sergey Organov
  0 siblings, 2 replies; 6+ messages in thread
From: Mateusz Wielgos @ 2024-09-23  3:28 UTC (permalink / raw)
  To: git

Hello,

I would like to use Git as a database of sorts. Let’s say I want to track weight of something in a file. When the value changes I can commit the new one. I can also figure out all previous values. That’s awesome.

What I am having trouble with is… What if a measurement is taken but there’s no change? I want to commit a file that hasn’t changed.

The only workaround I figured out is to toggle the executable bit.

Is there anything else?

Thanks,
Mateusz


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-25 16:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23  3:28 Using Git as a Database Mateusz Wielgos
2024-09-23  3:48 ` [External] " 韩仰
2024-09-23 12:32   ` email
2024-09-23 18:42     ` Andreas Schwab
2024-09-23 19:09       ` rsbecker
2024-09-25 16:47 ` Sergey Organov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).