1. 18 11月, 2007 1 次提交
  2. 16 11月, 2007 5 次提交
  3. 15 11月, 2007 15 次提交
    • J
      core.excludesfile clean-up · 039bc64e
      Junio C Hamano 提交于
      There are inconsistencies in the way commands currently handle
      the core.excludesfile configuration variable.  The problem is
      the variable is too new to be noticed by anything other than
      git-add and git-status.
      
       * git-ls-files does not notice any of the "ignore" files by
         default, as it predates the standardized set of ignore files.
         The calling scripts established the convention to use
         .git/info/exclude, .gitignore, and later core.excludesfile.
      
       * git-add and git-status know about it because they call
         add_excludes_from_file() directly with their own notion of
         which standard set of ignore files to use.  This is just a
         stupid duplication of code that need to be updated every time
         the definition of the standard set of ignore files is
         changed.
      
       * git-read-tree takes --exclude-per-directory=<gitignore>,
         not because the flexibility was needed.  Again, this was
         because the option predates the standardization of the ignore
         files.
      
       * git-merge-recursive uses hardcoded per-directory .gitignore
         and nothing else.  git-clean (scripted version) does not
         honor core.* because its call to underlying ls-files does not
         know about it.  git-clean in C (parked in 'pu') doesn't either.
      
      We probably could change git-ls-files to use the standard set
      when no excludes are specified on the command line and ignore
      processing was asked, or something like that, but that will be a
      change in semantics and might break people's scripts in a subtle
      way.  I am somewhat reluctant to make such a change.
      
      On the other hand, I think it makes perfect sense to fix
      git-read-tree, git-merge-recursive and git-clean to follow the
      same rule as other commands.  I do not think of a valid use case
      to give an exclude-per-directory that is nonstandard to
      read-tree command, outside a "negative" test in the t1004 test
      script.
      
      This patch is the first step to untangle this mess.
      
      The next step would be to teach read-tree, merge-recursive and
      clean (in C) to use setup_standard_excludes().
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      039bc64e
    • J
      Merge branch 'sp/fetch-fix' · f5f6cb87
      Junio C Hamano 提交于
      * sp/fetch-fix:
        git-fetch: avoid local fetching from alternate (again)
        rev-list: Introduce --quiet to avoid /dev/null redirects
        run-command: Support sending stderr to /dev/null
        git-fetch: Always fetch tags if the object they reference exists
      f5f6cb87
    • J
      Merge branch 'bs/maint-commit-options' · b2e16327
      Junio C Hamano 提交于
      * bs/maint-commit-options:
        git-commit: Add tests for invalid usage of -a/--interactive with paths
        git-commit.sh: Fix usage checks regarding paths given when they do not make sense
      b2e16327
    • J
      Merge branch 'rv/maint-index-commit' · 43f36901
      Junio C Hamano 提交于
      * rv/maint-index-commit:
        Make GIT_INDEX_FILE apply to git-commit
      43f36901
    • J
      Merge branch 'bs/maint-t7005' · 9f165805
      Junio C Hamano 提交于
      * bs/maint-t7005:
        t7005-editor.sh: Don't invoke real vi when it is in GIT_EXEC_PATH
      9f165805
    • J
      Merge branch 'jc/maint-add-sync-stat' · c78a2498
      Junio C Hamano 提交于
      * jc/maint-add-sync-stat:
        t2200: test more cases of "add -u"
        git-add: make the entry stat-clean after re-adding the same contents
        ce_match_stat, run_diff_files: use symbolic constants for readability
      
      Conflicts:
      
      	builtin-add.c
      c78a2498
    • J
      Merge branch 'mh/retag' · ef4de835
      Junio C Hamano 提交于
      * mh/retag:
        Add tests for git tag
        Reuse previous annotation when overwriting a tag
      ef4de835
    • J
      Merge branch 'jc/stash-create' · 5e389c43
      Junio C Hamano 提交于
      * jc/stash-create:
        git-stash: Fix listing stashes
        git-merge: no reason to use cpio anymore
        Revert "rebase: allow starting from a dirty tree."
        rebase: allow starting from a dirty tree.
        stash: implement "stash create"
      5e389c43
    • J
      Merge branch 'bg/format-patch-N' · 55571f78
      Junio C Hamano 提交于
      * bg/format-patch-N:
        Rearrange git-format-patch synopsis to improve clarity.
        format-patch: Test --[no-]numbered and format.numbered
        format-patch: Add configuration and off switch for --numbered
      55571f78
    • J
      Merge branch 'np/progress' · 03edb0a7
      Junio C Hamano 提交于
      * np/progress:
        nicer display of thin pack completion
        make display of total transferred fully accurate
        remove dead code from the csum-file interface
        git-fetch: be even quieter.
        make display of total transferred more accurate
        sideband.c: ESC is spelled '\033' not '\e' for portability.
        fix display overlap between remote and local progress
      03edb0a7
    • J
      Merge branch 'js/rebase-detached' · dcb83ec1
      Junio C Hamano 提交于
      * js/rebase-detached:
        rebase: fix "rebase --continue" breakage
        rebase: operate on a detached HEAD
      dcb83ec1
    • J
      Merge branch 'rs/pretty' · 37ec2b4c
      Junio C Hamano 提交于
      * rs/pretty:
        Fix preprocessor logic that determines the availablity of strchrnul().
        Simplify strchrnul() compat code
        --format=pretty: avoid calculating expensive expansions twice
        add strbuf_adddup()
        --pretty=format: parse commit message only once
        --pretty=format: on-demand format expansion
        Add strchrnul()
      37ec2b4c
    • J
      Merge branch 'rr/cvsexportcommit-w' · 43567365
      Junio C Hamano 提交于
      * rr/cvsexportcommit-w:
        cvsexportcommit: Add switch to specify CVS workdir
      43567365
    • J
      Merge branch 'gh/cvsimport-user' · e318f607
      Junio C Hamano 提交于
      * gh/cvsimport-user:
        git-cvsimport: fix handling of user name when it is not set in CVSROOT
      e318f607
    • S
      user-manual: minor rewording for clarity. · 93cbbd71
      Sergei Organov 提交于
      Junio screwed up when applying the previous round of the patch;
      rewording from "previous" to "old" does make the description
      clearer.
      
      Also revert the rewording from head to branch.  The description
      is talking about the branch's tip commit and using the word head
      is clearer.
      
      Based on input from Sergei and Bruce.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      93cbbd71
  4. 14 11月, 2007 14 次提交
  5. 13 11月, 2007 4 次提交
  6. 12 11月, 2007 1 次提交