Re: [anjuta-devel] Automatically add project sources files when committing files
- From: "Arnel A. Borja" <kyoushuu yahoo com>
- To: Sébastien Granjoux <seb sfo free fr>
- Cc: anjuta-devel-list gnome org
- Subject: Re: [anjuta-devel] Automatically add project sources files when committing files
- Date: Sun, 05 Feb 2012 23:16:02 +0800
On 02/05/12 07:51 N.H., Sébastien Granjoux wrote:
Hi Arnel,
Le 05/02/2012 08:46, Arnel A. Borja a écrit :
What I mean before is like this:
The Git plugin will check if:
1. The project directory is a git repository. If not, run `git init'.
2. There's a current branch.
3. There's no commit yet.
4. There's no file in index.
Then all files will be added to the index.
I have a different proposal which I think is better because it hasn't
all these conditions. It's working even after the project creation
time where it is still useful to avoid forgetting to commit files.
The drawback is that it needs the project manager plugin to find all
source files but it should already work and could be improved a bit.
Regards,
Sébastien
I agree that it's better. We may also run `git init' automatically if
the project directory is not a git repository when the git plugin loads
or when the git panes are opened.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]