git-commit-vandalism/lib
Heiko Voigt df128139c6 git-gui: instead of defaulting to home directory use working directory
When starting git gui in a non-git directory it presents the user a
dialog which asks to create, clone or open a repository. The filedialogs
used to choose the path(s) would always default to the home directory of
the user. This patch changes this behavior and uses the current working
directory in which git gui was started as default.

This is useful in various cases. First being that the user starts the
gui in some directory and can go search to create, open or clone a
repository from there. Another use case is that tools like filemanager
context menues can transport a natural default when selected from a
folder.

Users who like to have their home folder as a default can fall back on
starting git gui with its working directory set to the home folder.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2011-02-06 22:43:35 +00:00
..
about.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
blame.tcl git-gui: handle textconv filter on Windows and in development 2010-08-12 21:37:32 +01:00
branch_checkout.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_create.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_delete.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_rename.tcl git-gui: use full dialog width for old name when renaming branch 2010-10-07 23:00:33 +01:00
branch.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
browser.tcl git-gui: fix browsers [Up To Parent] in sub-sub-directories. 2010-11-22 21:52:51 +00:00
checkout_op.tcl git-gui: run post-checkout hook on checkout 2009-04-05 12:58:26 -07:00
choose_font.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
choose_repository.tcl git-gui: instead of defaulting to home directory use working directory 2011-02-06 22:43:35 +00:00
choose_rev.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
class.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
commit.tcl git-gui: learn more type change states 2011-01-28 00:16:50 +00:00
console.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
database.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
date.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
diff.tcl git-gui: handle meta diff header lines only in the header section 2011-01-28 09:01:17 +00:00
encoding.tcl git-gui: Optimize encoding name resolution using a lookup table. 2008-09-24 12:48:32 -07:00
error.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
git-gui.ico git-gui: Improve the application icon on Windows. 2007-12-02 23:05:10 -05:00
index.tcl git-gui: learn more type change states 2011-01-28 00:16:50 +00:00
logo.tcl git-gui: Refactor Henrik Nyh's logo into its own procedure 2007-10-10 01:12:15 -04:00
merge.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
mergetool.tcl git-gui: Ensure consistent usage of mergetool.keepBackup 2009-04-08 07:40:58 -07:00
option.tcl git-gui: use textconv filter for diff and blame 2010-07-30 10:05:27 +01:00
remote_add.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
remote_branch_delete.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
remote.tcl git-gui: Fix removing non-pushable remotes 2008-09-30 12:59:37 -07:00
search.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
shortcut.tcl git-gui: fix usage of _gitworktree when creating shortcut for windows 2010-07-30 09:57:26 +01:00
spellcheck.tcl git-gui: Remove space from the end of aspell's reply before processing 2008-09-30 12:59:18 -07:00
sshkey.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
status_bar.tcl git-gui: fix usage of themed widgets variable 2010-07-10 23:41:54 +01:00
themed.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
tools_dlg.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
tools.tcl git-gui: minor spelling fix and string factorisation. 2009-03-24 16:17:30 -07:00
transport.tcl git-gui: scroll down to default selection for push dialog 2011-02-06 22:20:05 +00:00
win32_shortcut.js git-gui: Use proper Windows shortcuts instead of bat files 2007-10-12 23:07:58 -04:00
win32.tcl git-gui: fix shortcut creation on cygwin 2010-07-30 10:05:26 +01:00