git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* intend-to-edit flag
@ 2013-07-04 17:56 Thomas Koch
  2013-07-04 18:10 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Koch @ 2013-07-04 17:56 UTC (permalink / raw)
  To: git

Hi,

we're evaluating Git to be used in our companies Tool. But a hard requirement 
is the possibility to set an "intend-to-edit" flag on a file (better path).
Notice that I did not use the word "lock"! :-)

One easy implementation might be a special branch "XYZ-locks" that contains an 
empty blob for every flagged file. So our tool just needs to check, whether a 
blob exists for the path that's intended to edit, tries to push a commit that 
touches the file and only allows editing if the push succeeds.

Does anybody have a better idea, maybe with notes?

Thank you,

Thomas Koch, http://www.koch.ro

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

end of thread, other threads:[~2013-07-04 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04 17:56 intend-to-edit flag Thomas Koch
2013-07-04 18:10 ` Ævar Arnfjörð Bjarmason
2013-07-04 18:19   ` John Keeping
2013-07-04 18:25   ` Thomas Koch

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).