1. 13 3月, 2008 1 次提交
  2. 12 3月, 2008 10 次提交
    • J
      Merge git://repo.or.cz/git-gui · a6828f53
      Junio C Hamano 提交于
      * git://repo.or.cz/git-gui:
        git-gui: Simplify MSGFMT setting in Makefile
        git-gui: Add option for changing the width of the commit message text box
        git-gui: if a background colour is set, set foreground colour as well
        git-gui: translate the remaining messages in zh_cn.po to chinese
      a6828f53
    • 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
    • J
      Merge branch 'js/remote' · ae90e16a
      Junio C Hamano 提交于
      * js/remote:
        "remote update": print remote name being fetched from
        builtin remote rm: remove symbolic refs, too
        remote: fix "update [group...]"
        remote show: Clean up connection correctly if object fetch wasn't done
        builtin-remote: prune remotes correctly that were added with --mirror
        Make git-remote a builtin
        Test "git remote show" and "git remote prune"
        parseopt: add flag to stop on first non option
        path-list: add functions to work with unsorted lists
      
      Conflicts:
      
      	parse-options.c
      ae90e16a
    • J
      Merge branch 'lt/unpack-trees' · b85997d1
      Junio C Hamano 提交于
      * lt/unpack-trees:
        unpack_trees(): fix diff-index regression.
        traverse_trees_recursive(): propagate merge errors up
        unpack_trees(): minor memory leak fix in unused destination index
        Make 'unpack_trees()' have a separate source and destination index
        Make 'unpack_trees()' take the index to work on as an argument
        Add 'const' where appropriate to index handling functions
        Fix tree-walking compare_entry() in the presense of --prefix
        Move 'unpack_trees()' over to 'traverse_trees()' interface
        Make 'traverse_trees()' traverse conflicting DF entries in parallel
        Add return value to 'traverse_tree()' callback
        Make 'traverse_tree()' use linked structure rather than 'const char *base'
        Add 'df_name_compare()' helper function
      b85997d1
    • S
      "remote update": print remote name being fetched from · 3000658f
      Samuel Tardieu 提交于
      When the other end has dangling symref, "git fetch" issues an error
      message but that is not grave enough to cause the fetch process to fail.
      As the result, the user will see something like this:
      
          $ git remote update
          error: refs/heads/2.0-uobjects points nowhere!
      
      "remote update" used to report which remote it is fetching from, like
      this:
      
          $ git remote update
          Updating core
          Updating matthieu
          error: refs/heads/2.0-uobjects points nowhere!
          Updating origin
      
      This reinstates the message "Updating <name>" in "git remote update".
      Signed-off-by: NSamuel Tardieu <sam@rfc1149.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3000658f
    • J
      Merge branch 'maint' · b81a7b58
      Junio C Hamano 提交于
      * maint:
        git-svn: fix find-rev error message when missing arg
        t0021: tr portability fix for Solaris
        launch_editor(): allow spaces in the filename
        git rebase --abort: always restore the right commit
      b81a7b58
    • M
      git-svn: fix find-rev error message when missing arg · ea14e6c5
      Marc-Andre Lureau 提交于
      Just let the user know that a revision argument is missing instead of
      a perl error. This error message mimic the "init" error message, but
      could be improved.
      Signed-off-by: NMarc-Andre Lureau <marcandre.lureau@gmail.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ea14e6c5
    • J
      t0021: tr portability fix for Solaris · 7339eb08
      Jeff King 提交于
      Solaris' /usr/bin/tr doesn't seem to like multiple character
      ranges in brackets (it simply prints "Bad string").
      
      Instead, let's just enumerate the transformation we want.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7339eb08
    • J
      launch_editor(): allow spaces in the filename · fc99469a
      Johannes Schindelin 提交于
      The construct
      
      	sh -c "$0 \"$@\"" <editor> <file>
      
      does not pick up quotes in <editor>, so you cannot give path to the
      editor that has a shell IFS whitespace in it, and also give it initial
      set of parameters and flags.  Replace $0 with <editor> to fix this issue.
      
      This fixes
      
      	git config core.editor '"c:/Program Files/What/Ever.exe"'
      
      In other words, you can specify an editor with spaces in its path using a
      config containing something like this:
      
      	[core]
      		editor = \"c:/Program Files/Darn/Spaces.exe\"
      
      NOTE: we cannot just replace the $0 with \"$0\", because we still want
      this to work:
      
      	[core]
      		editor = emacs -nw
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fc99469a
    • M
      git rebase --abort: always restore the right commit · 4201bb5f
      Mike Hommey 提交于
      Previously, --abort would end by git resetting to ORIG_HEAD, but some
      commands, such as git reset --hard (which happened in git rebase --skip,
      but could just as well be typed by the user), would have already modified
      ORIG_HEAD.
      
      Just use the orig-head we store in $dotest instead.
      
      [jc: cherry-picked from 48411d and 4947cf9c on 'master']
      Signed-off-by: NMike Hommey <mh@glandium.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4201bb5f
  3. 11 3月, 2008 15 次提交
  4. 10 3月, 2008 2 次提交
  5. 09 3月, 2008 12 次提交