Open GoogleCodeExporter opened 8 years ago
Hi,
Its possible, the status checks are issued when the projects plugin detects
that a
file that is currently displayed has been modified on disk. This could probably
be
optimized by setting a timer and not issuing the command until the updates have
stopped for a certain period of time.
I hope someone who uses git more frequently would re-write the projects support
for
it as I don't feel that it is very robust right now. GIT does not produce very
nice
to work with console output so it is difficult to parse and work with reliably.
I can look at adding the timer to control the status frequency which should help
minimize this situation but I think that the root cause is the inefficiency in
the
projects GIT implementation since it needs to make multiple git calls in order
to
gather the necessary status information.
Cody
Original comment by CodyPrec...@gmail.com
on 21 Jan 2010 at 1:10
So the cause is the Projects plugin issuing git commands to check file status?
In that case, adding an option to disable VCS integration could be a good
fix/workaround. I for one prefer to do my svn/git stuff from the command line
anyway.
I guess that would be implemented as a checkbox 'Enable source control
integration'
in the Source Control tab of the Projects configuration window.
Would that be okay? If so I'll make a new ticket and maybe I'll even get around
to
submitting a patch.
Original comment by craig.ds@gmail.com
on 21 Jan 2010 at 1:24
That would be my guess, as to why GIT has a lock file for running status checks
is
another question since status checks shouldn't need to modify anything it seems
odd
that there is a lock file.
Yea I could see having an option to disable the source integration could be
usefull.
It should be implemented on a per control system basis defaulting to On. This
way it
will be possible to disable it for individual systems which could offer some
minor
performance improvements since as part of the discovery mechanism it will
iterate
through each system till it finds one that matches the project directory.
While on this topic is there a GIT command that lists the status of a directory
showing the status of all files, bonus points if it includes files that are not
under
control and/or full paths?
Cody
Original comment by CodyPrec...@gmail.com
on 21 Jan 2010 at 1:58
Original issue reported on code.google.com by
craig.ds@gmail.com
on 20 Jan 2010 at 9:09