Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Darcs-git: a few notes for Git hackers

From: Juliusz Chroboczek <hidden>
Date: 2016-06-15 22:41:56

quoted
In such cases, manual intervention is necessary anyway -- a file could
have been written half-way.
In the case of git, it should not be necessary even then; there might
be a broken file in the repository but nothing would reference it so
it shouldn't have any effect.  Functionally speaking, operations on
the git repository are in themselves atomic.
Yes, you're right.

I still prefer using a lockfile to flock -- NFS-safety is important
for us.  And experience with the Darcs user base (who are probably
less Unix-savvy then the Git userbase) shows that they have no problem
doing

  $ ps
  $ rm _darcs/lock
  $ darcs check

when Darcs complains about a stray lockfile.

                                        Juliusz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help