From: Thomas Koch <thomas@koch.ro>
To: git@vger.kernel.org
Subject: intend-to-edit flag
Date: Thu, 04 Jul 2013 19:56:40 +0200 [thread overview]
Message-ID: <2240842.MQEMCLPV8Z@x121e> (raw)
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
next reply other threads:[~2013-07-04 17:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-04 17:56 Thomas Koch [this message]
2013-07-04 18:10 ` intend-to-edit flag Ævar Arnfjörð Bjarmason
2013-07-04 18:19 ` John Keeping
2013-07-04 18:25 ` Thomas Koch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2240842.MQEMCLPV8Z@x121e \
--to=thomas@koch.ro \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.