1. 23 12月, 2006 1 次提交
    • J
      merge and reset: adjust for "reset --hard" messages · 228e2eb6
      Junio C Hamano 提交于
      An earlier commit made "reset --hard" chattier but leaking its
      message from "git rebase" (which calls it when first rewinding
      the current branch to prepare replaying our own changes) without
      explanation was confusing, so add an extra message to mention
      it.  Inside restorestate in merge (which is rarely exercised
      codepath, where more than one strategies are attempted),
      resetting to the original state uses "reset --hard" -- this can
      be squelched entirely.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      228e2eb6
  2. 22 12月, 2006 12 次提交
  3. 21 12月, 2006 15 次提交
  4. 20 12月, 2006 6 次提交
  5. 19 12月, 2006 6 次提交
    • J
      Revert "Make left-right automatic." · 8dce8235
      Junio C Hamano 提交于
      This reverts commit 57612319.
      
      Feeding symmetric difference to gitk is so useful, and it is the
      same for other graphical Porcelains.  Rather than forcing them
      to pass --no-left-right, making it optional.
      
      Noticed and reported by Jeff King.
      8dce8235
    • J
      Move "no merge candidate" warning into git-pull · 4363dfbe
      Josef Weidendorfer 提交于
      The warning triggered even when running "git fetch" only
      when resulting .git/FETCH_HEAD only contained
      branches marked as 'not-for-merge'.
      Signed-off-by: NJosef Weidendorfer <weidendo@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4363dfbe
    • J
      Use preprocessor constants for environment variable names. · d4ebc36c
      Junio C Hamano 提交于
      We broke the discipline Linus set up to allow compiler help us
      avoid typos in environment names in the early days of git over
      time.  This defines a handful preprocessor constants for
      environment variable names used in relatively core parts of the
      system.
      
      I've left out variable names specific to subsystems such as HTTP
      and SSL as I do not think they are big problems.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      d4ebc36c
    • J
      Do not create $GIT_DIR/remotes/ directory anymore. · 75c384ef
      Junio C Hamano 提交于
      Because we do not use --no-separate-remote anymore, there is no
      reason to create that directory from the template.
      
      t5510 test is updated to test both $GIT_DIR/remotes/ based
      configuration and $GIT_DIR/config variable (credits to
      Johannes).
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      75c384ef
    • J
      Merge branch 'jc/test-clone' into jc/clone · 5fed4668
      Junio C Hamano 提交于
      * jc/test-clone: (35 commits)
        Introduce GIT_TEMPLATE_DIR
        Revert "fix testsuite: make sure they use templates freshly built from the source"
        fix testsuite: make sure they use templates freshly built from the source
        rerere: fix breakage of resolving.
        Add config example with respect to branch
        Add documentation for show-branch --topics
        make git a bit less cryptic on fetch errors
        make patch_delta() error cases a bit more verbose
        racy-git: documentation updates.
        show-ref: fix --exclude-existing
        parse-remote::expand_refs_wildcard()
        vim syntax: follow recent changes to commit template
        show-ref: fix --verify --hash=length
        show-ref: fix --quiet --verify
        avoid accessing _all_ loose refs in git-show-ref --verify
        git-fetch: Avoid reading packed refs over and over again
        Teach show-branch how to show ref-log data.
        markup fix in svnimport documentation.
        Documentation: new option -P for git-svnimport
        Fix mis-mark-up in git-merge-file.txt documentation
        ...
      5fed4668
    • J
      Introduce GIT_TEMPLATE_DIR · 8683a45d
      Johannes Schindelin 提交于
      Instead of passing --template explicitely to init-db and clone, you can
      just set the environment variable GIT_TEMPLATE_DIR.
      
      Also make use of it in the tests, to make sure that the templates are
      copied.
      Signed-off-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      8683a45d