1. 23 12月, 2010 6 次提交
    • J
      Merge branch 'rj/maint-test-fixes' · 48e0ad03
      Junio C Hamano 提交于
      * rj/maint-test-fixes:
        t9501-*.sh: Fix a test failure on Cygwin
        lib-git-svn.sh: Add check for mis-configured web server variables
        lib-git-svn.sh: Avoid setting web server variables unnecessarily
        t9142: Move call to start_httpd into the setup test
        t3600-rm.sh: Don't pass a non-existent prereq to test #15
      48e0ad03
    • J
      Merge branch 'jc/maint-am-abort-safely' · cfa775c1
      Junio C Hamano 提交于
      * jc/maint-am-abort-safely:
        am --abort: keep unrelated commits since the last failure and warn
      cfa775c1
    • J
      Merge branch 'jk/commit-die-on-bogus-ident' · 3ea38607
      Junio C Hamano 提交于
      * jk/commit-die-on-bogus-ident:
        commit: die before asking to edit the log message
        ident: die on bogus date format
      
      Conflicts:
      	builtin/commit.c
      3ea38607
    • J
      Merge branch 'pd/bash-4-completion' · 02fedc0f
      Junio C Hamano 提交于
      * pd/bash-4-completion:
        bash: simple reimplementation of _get_comp_words_by_ref
        bash: get --pretty=m<tab> completion to work with bash v4
      
      Conflicts:
      	contrib/completion/git-completion.bash
      02fedc0f
    • J
      Merge branch 'nd/maint-fix-add-typo-detection' · e39212ab
      Junio C Hamano 提交于
      * nd/maint-fix-add-typo-detection:
        Revert "excluded_1(): support exclude files in index"
        unpack-trees: fix sparse checkout's "unable to match directories"
        unpack-trees: move all skip-worktree checks back to unpack_trees()
        dir.c: add free_excludes()
        cache.h: realign and use (1 << x) form for CE_* constants
      e39212ab
    • J
      Merge branch 'tf/commit-list-prefix' · 716958c9
      Junio C Hamano 提交于
      * tf/commit-list-prefix:
        commit: Add commit_list prefix in two function names.
      
      Conflicts:
      	sha1_name.c
      716958c9
  2. 22 12月, 2010 11 次提交
  3. 21 12月, 2010 3 次提交
    • J
      commit: die before asking to edit the log message · 4c28e4ad
      Junio C Hamano 提交于
      When determine_author_info() returns to the calling prepare_to_commit(),
      we already know the pieces of information necessary to determine what
      author ident will be used in the final message, but deferred making a call
      to fmt_ident() before the final commit_tree().  Most importantly, we would
      open the editor to ask the user to compose the log message before it.
      
      As one important side effect of fmt_ident() is to error out when the given
      information is malformed, this resulted in us spawning the editor first
      and then refusing to commit due to error, even though we had enough
      information to detect the error before starting the editor, which was
      annoying.
      
      Move the fmt_ident() call to the end of determine_author_info() where we
      have final determination of author info to rectify this.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4c28e4ad
    • M
      completion: add missing configuration variables · 6068ac88
      Martin von Zweigbergk 提交于
      Quite a few configuration variables have been added since 226b343c
      (completion: add missing configuration variables to _git_config(),
      2009-05-03). Add these variables to the Bash completion script.
      
      Also remove the obsolete 'add.ignore-errors' and
      'color.grep.external', as well as 'diff.renameLimit.', which never
      existed and rename the misspelled 'sendemail.aliasesfiletype'.
      Signed-off-by: NMartin von Zweigbergk <martin.von.zweigbergk@gmail.com>
      Acked-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6068ac88
    • J
      ident: die on bogus date format · 4579bb41
      Jeff King 提交于
      If the user gives "git commit --date=foobar", we silently
      ignore the --date flag. We should note the error.
      
      This patch puts the fix at the lowest level of fmt_ident,
      which means it also handles GIT_AUTHOR_DATE=foobar, as well.
      
      There are two down-sides to this approach:
      
        1. Technically this breaks somebody doing something like
           "git commit --date=now", which happened to work because
           bogus data is the same as "now". Though we do
           explicitly handle the empty string, so anybody passing
           an empty variable through the environment will still
           work.
      
           If the error is too much, perhaps it can be downgraded
           to a warning?
      
        2. The error checking happens _after_ the commit message
           is written, which can be annoying to the user. We can
           put explicit checks closer to the beginning of
           git-commit, but that feels a little hack-ish; suddenly
           git-commit has to care about how fmt_ident works. Maybe
           we could simply call fmt_ident earlier?
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4579bb41
  4. 20 12月, 2010 8 次提交
  5. 19 12月, 2010 3 次提交
  6. 18 12月, 2010 3 次提交
  7. 17 12月, 2010 6 次提交