This is a resend with the patches rebased on current 'next'. The first patch allows git gui to work with respotiories for which the worktree is not the parent of the gitdir. The second patch refactors bare repository detection, improves the error message if the bare support feature is disabled, and disabled inapplicable menu entries. The third patch allows git-gui to work properly when launched from the .git directory itself, solving the issue Markus Heidelberg was having in http://thread.gmane.org/gmane.comp.version-control.git/115044 Giuseppe Bilotta (3): git-gui: handle non-standard worktree locations git-gui: handle bare repos correctly git-gui: work from the .git dir git-gui/git-gui.sh | 88 +++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 73 insertions(+), 15 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html