From: "François Fleuret" <francois.fleuret@noos.fr>
Subject: How to test if a directory is under version control ?
Date: 05 Nov 2003 13:11:59 +0100 [thread overview]
Message-ID: <87k76fypyo.fsf@noos.fr> (raw)
Hi people,
I am trying to write a simple function that would alert me when I edit
a file which is not under version-control, while the directory is.
To test if the file is under VC, I found vc-registered. For the
directory, if I do not find a more elegant way, I will end up looking
for a 'CVS' directory at the file's location, as I use CVS. But I
thought that there may be better solution ...
Any advice ?
Thanks in advance,
FF
next reply other threads:[~2003-11-05 12:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-05 12:11 François Fleuret [this message]
2003-11-05 14:15 ` How to test if a directory is under version control ? Stefan Monnier
2003-11-06 11:30 ` François Fleuret
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k76fypyo.fsf@noos.fr \
--to=francois.fleuret@noos.fr \
/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 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).