1. 21 6月, 2008 1 次提交
  2. 14 6月, 2008 1 次提交
    • A
      git-gui: Move on to the next filename after staging/unstaging a change · 8a965b8e
      Abhijit Menon-Sen 提交于
      Suppose the "Unstaged Changes" pane contains a list of files, and one of
      them is selected (i.e., that diff is currently being displayed). If one
      clicks on the icon to stage the change, git-gui clears the diff and one
      has to click on another filename to see the next diff in the list.
      
      This patch changes that behaviour. If one clicks on the icon to stage
      (or unstage) the file whose diff is being displayed, git-gui will move
      on to the next filename in the list and display that diff instead of a
      blank diff pane. If the selected file was at the end of the list, the
      diff pane will display the previous diff instead; if the selected file
      was the only one listed, the diff pane will become blank.
      
      If no diff is currently being displayed, this patch changes nothing.
      Signed-off-by: NAbhijit Menon-Sen <ams@toroid.org>
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      8a965b8e
  3. 27 5月, 2008 1 次提交
    • T
      git-gui: Vertically align textboxes with labels · 95dcfa36
      Twiinz 提交于
      In git-gui after clicking either on 'Create New Repository' or
      'Open Existing Repository' the form elements aren't centered like
      they are pretty much everywhere else in the app. At least when ran
      on a mac, haven't checked on other platforms.
      
      Using grid instead of pack seems to fix this.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      95dcfa36
  4. 22 5月, 2008 1 次提交
    • S
      git-gui: Handle workdir detection when CYGWIN=nowinsymlinks · 7f83aa2d
      Shawn O. Pearce 提交于
      If the user has put nowinsymlinks into their CYGWIN environment
      variable any symlinks created by a Cygwin process (e.g. ln -s)
      will not have the ".lnk" suffix.  In this case workdir is still
      a workdir, but our detection of looking for "info.lnk" fails
      as the symlink is actually a normal file called "info".
      
      Instead we just always use Cygwin's test executable to see if
      info/exclude is a file.  If it is, we assume from there on it
      can be read by git-ls-files --others and is thus safe to use
      on the command line.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      7f83aa2d
  5. 21 5月, 2008 1 次提交
    • S
      git-gui: Add a --trace command line option · 16dd62ac
      Shawn O. Pearce 提交于
      Often new Git users want to know what commands git-gui uses to make
      changes, so they can learn the command line interface by mimicking
      what git-gui does in response to GUI actions.  Showing the direct
      commands being executed is easy enough to implement but this is of
      little value to end-users because git-gui frequently directly calls
      plumbing, not porcelain.
      
      Since the code is already written and tested, its fairly harmless
      to include.  It may not help a new end-user, but it can help with
      debugging git-gui or reverse-engineering its logic to further make
      changes to it or implement another GUI for Git.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      16dd62ac
  6. 09 5月, 2008 2 次提交
  7. 02 5月, 2008 1 次提交
  8. 24 4月, 2008 2 次提交
    • S
      Merge branch 'maint' · ca194048
      Shawn O. Pearce 提交于
      * maint:
        git-gui: Don't use '$$cr master' with aspell earlier than 0.60
      ca194048
    • S
      git-gui: Don't use '$$cr master' with aspell earlier than 0.60 · ddc36031
      Shawn O. Pearce 提交于
      Apparently aspell 0.50 does not recognize "$$cr master" as a command,
      but instead tries to offer suggestions for how to correctly spell
      the word "cr".  This is not quite what we are after when we want
      the name of the current dictionary.
      
      Instead of locking up git-gui waiting for a response that may never
      come back from aspell we avoid sending this command if the binary
      we have started claims to be before version 0.60.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      ddc36031
  9. 15 4月, 2008 1 次提交
  10. 05 4月, 2008 2 次提交
  11. 04 4月, 2008 1 次提交
  12. 02 4月, 2008 2 次提交
  13. 16 3月, 2008 2 次提交
  14. 15 3月, 2008 6 次提交
  15. 14 3月, 2008 2 次提交
  16. 13 3月, 2008 2 次提交
  17. 12 3月, 2008 1 次提交
    • J
      git-gui: Simplify MSGFMT setting in Makefile · 72766078
      Junio C Hamano 提交于
      To prepare msg files for Tcl scripts, the command that is set to MSGFMT
      make variable needs to be able to grok "--tcl -l <lang> -d <here>" options
      correctly.  This patch simplifies the tests done in git-gui's Makefile to
      directly test this condition.  If the test run does not exit properly with
      zero status (either because you do not have "msgfmt" itself, or your
      "msgfmt" is too old to grok --tcl option --- the reason does not matter),
      have it fall back to po/po2msg.sh
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      72766078
  18. 08 3月, 2008 1 次提交
  19. 06 3月, 2008 2 次提交
  20. 05 3月, 2008 2 次提交
  21. 28 2月, 2008 2 次提交
  22. 22 2月, 2008 4 次提交
    • S
      Merge branch 'maint' · b5e2f805
      Shawn O. Pearce 提交于
      * maint:
        git-gui: Focus insertion point at end of strings in repository chooser
        git-gui: Avoid hardcoded Windows paths in Cygwin package files
        git-gui: Default TCL_PATH to same location as TCLTK_PATH
        git-gui: Paper bag fix error dialogs opening over the main window
      b5e2f805
    • S
      git-gui: Focus insertion point at end of strings in repository chooser · 3baee1f3
      Shawn O. Pearce 提交于
      When selecting a local working directory for a new repository or a
      location to clone an existing repository into we now set the insert
      point at the end of the selected path, allowing the user to type in
      any additional parts of the path if they so desire.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      3baee1f3
    • S
      git-gui: Avoid hardcoded Windows paths in Cygwin package files · df4ec4cf
      Shawn O. Pearce 提交于
      When we are being built by the Cygwin package maintainers we need to
      embed the POSIX path to our library files and not the Windows path.
      Embedding the Windows path means all end-users who install our Cygwin
      package would be required to install Cygwin at the same Windows path
      as the package maintainer had Cygwin installed to.  This requirement
      is simply not user-friendly and may be infeasible for a large number
      of our users.
      
      We now try to auto-detect if the Tcl/Tk binary we will use at runtime
      is capable of translating POSIX paths into Windows paths the same way
      that cygpath does the translations.  If the Tcl/Tk binary gives us the
      same results then it understands the Cygwin path translation process
      and should be able to read our library files from a POSIX path name.
      
      If it does not give us the same answer as cygpath then the Tcl/Tk
      binary might actually be a native Win32 build (one that is not
      linked against Cygwin) and thus requires the native Windows path
      to our library files.  We can assume this is not a Cygwin package
      as the Cygwin maintainers do not currently ship a pure Win32 build
      of Tcl/Tk.
      
      Reported on the git mailing list by Jurko Gospodnetić.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      df4ec4cf
    • S
      git-gui: Default TCL_PATH to same location as TCLTK_PATH · 651fbba2
      Shawn O. Pearce 提交于
      Most users set TCLTK_PATH to tell git-gui where to find wish, but they
      fail to set TCL_PATH to the same Tcl installation.  We use the non-GUI
      tclsh during builds so headless systems are still able to create an
      index file and create message files without GNU msgfmt.  So it matters
      to us that we find a working TCL_PATH at build time.
      
      If TCL_PATH hasn't been set yet we can take a better guess about what
      tclsh executable to use by replacing 'wish' in the executable path with
      'tclsh'.  We only do this replacement on the filename part of the path,
      just in case the string "wish" appears in the directory paths.  Most of
      the time the tclsh will be installed alongside wish so this replacement
      is a sensible and safe default.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      651fbba2