* Auto-refresh git-gui @ 2012-01-04 9:15 Victor Engmark 2012-01-04 16:33 ` Clemens Buchacher 0 siblings, 1 reply; 4+ messages in thread From: Victor Engmark @ 2012-01-04 9:15 UTC (permalink / raw) To: git Is there some way to make `git-gui` rescan automatically when anything in the repository changes? That would enable a more fluid workflow when combined with other Git tools. Use cases: * "Dashboard" functionality to keep track of changes without having to run `git status` all the time. * `git` / `git-gui` introduction: See what happens live while working with the other tool. -- Victor Engmark terreActive AG Kasinostrasse 30 CH-5001 Aarau Tel: +41 62 834 00 55 Fax: +41 62 823 93 56 www.terreactive.ch Wir sichern Ihren Erfolg - seit 15 Jahren ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Auto-refresh git-gui 2012-01-04 9:15 Auto-refresh git-gui Victor Engmark @ 2012-01-04 16:33 ` Clemens Buchacher 2012-01-05 8:03 ` Victor Engmark 0 siblings, 1 reply; 4+ messages in thread From: Clemens Buchacher @ 2012-01-04 16:33 UTC (permalink / raw) To: Victor Engmark; +Cc: git Hi Victor, On Wed, Jan 04, 2012 at 10:15:47AM +0100, Victor Engmark wrote: > > Is there some way to make `git-gui` rescan automatically when anything > in the repository changes? How about doing it each time git gui gets focus? Or if that's to much do it only if it gets focus _and_ the index has changed? Clemens ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Auto-refresh git-gui 2012-01-04 16:33 ` Clemens Buchacher @ 2012-01-05 8:03 ` Victor Engmark 2012-01-10 16:14 ` Uri Okrent 0 siblings, 1 reply; 4+ messages in thread From: Victor Engmark @ 2012-01-05 8:03 UTC (permalink / raw) To: Clemens Buchacher; +Cc: git On Wed, Jan 04, 2012 at 05:33:40PM +0100, Clemens Buchacher wrote: > Hi Victor, > > On Wed, Jan 04, 2012 at 10:15:47AM +0100, Victor Engmark wrote: > > > > Is there some way to make `git-gui` rescan automatically when anything > > in the repository changes? > > How about doing it each time git gui gets focus? Or if that's to > much do it only if it gets focus _and_ the index has changed? Ideally (like in jEdit) this should be configurable. In Options -> General of jEdit, there are the following settings: "If open files are changed on disk", with options: * do nothing * prompt * automatically reload and notify user * autoreload without notification "Check for file change upon", with options: * application focus * application focus, visiting the buffer or saving any buffer * visiting the buffer or saving any buffer * visiting or saving the buffer * saving the buffer Based on this, I guess we could use the following settings: "When repository changes", with options: * do nothing [This could optionally disable the next setting] * prompt * rescan and notify user * rescan without notification "Check for repository changes", with options: * always [Could be implemented with something like `inotifywait -rm`] * upon application focus * upon staging, unstaging, committing or pushing I think I can see use cases for all these options, although it might be a bit much to chew for a first iteration. -- Victor Engmark terreActive AG Kasinostrasse 30 CH-5001 Aarau Tel: +41 62 834 00 55 Fax: +41 62 823 93 56 www.terreactive.ch Wir sichern Ihren Erfolg - seit 15 Jahren ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Auto-refresh git-gui 2012-01-05 8:03 ` Victor Engmark @ 2012-01-10 16:14 ` Uri Okrent 0 siblings, 0 replies; 4+ messages in thread From: Uri Okrent @ 2012-01-10 16:14 UTC (permalink / raw) To: victor.engmark; +Cc: git Not to muddy the waters, but if you're open to alternatives, if you have inotify installed, git cola will automatically update it's status whenever files in your repository change. -- Uri Please consider the environment before printing this message. http://wwf.panda.org/savepaper/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-10 16:14 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-01-04 9:15 Auto-refresh git-gui Victor Engmark 2012-01-04 16:33 ` Clemens Buchacher 2012-01-05 8:03 ` Victor Engmark 2012-01-10 16:14 ` Uri Okrent
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 NNTP newsgroup(s).