Thread (33 messages) 33 messages, 14 authors, 2016-06-15

Re: Re: Merge with git-pasky II.

From: Petr Baudis <hidden>
Date: 2016-06-15 22:41:52

Possibly related (same subject, not in this thread)

Dear diary, on Sat, Apr 16, 2005 at 05:55:37PM CEST, I got a letter
where Simon Fowler [off-list ref] told me that...
On Sat, Apr 16, 2005 at 05:19:24AM -0700, David Lang wrote:
quoted
Simon

given that you have multiple machines creating files, how do you deal with 
the idea of the same 'unique id' being assigned to different files by 
different machines?
The id is a sha1 hash of the current time and the full path of the
file being added - the chances of that being replicated without
malicious intent is extremely small. There are other things that
could be used, like the hostname, username of the person running the
program, etc, but I don't really see them being necessary.
Why not just use UUID?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help