1. 22 7月, 2010 3 次提交
  2. 21 7月, 2010 5 次提交
  3. 20 7月, 2010 7 次提交
  4. 19 7月, 2010 1 次提交
  5. 17 7月, 2010 4 次提交
  6. 16 7月, 2010 17 次提交
  7. 15 7月, 2010 3 次提交
    • J
      git --paginate: paginate external commands again · 030149a4
      Jonathan Nieder 提交于
      73e25e7c (git --paginate: do not commit pager choice too early,
      2010-06-26) failed to take some cases into account.
      
      1b. Builtins that do not use RUN_SETUP (like git config) do
          not find GIT_DIR set correctly when the pager is launched
          from run_builtin().  So the core.pager configuration is
          not honored from subdirectories of the toplevel for them.
      
      4a. External git commands (like git request-pull) relied on the
          early pager launch to take care of handling the -p option.
          Ever since 73e25e7c, they do not honor the -p option at all.
      
      4b. Commands invoked through ! aliases (like ls) were also relying
          on the early pager launch.
      
      Fix (4a) by launching the pager (if requested) before running such a
      “dashed external”.  For simplicity, this still does not search for a
      .git directory before running the external command; when run from a
      subdirectory of the toplevel, therefore, the “[core] pager”
      configuration is still not honored.
      
      Fix (4b) by launching pager if requested before carrying out such an
      alias.  Actually doing this has no effect, since the pager (if any)
      would have already been launched in a failed attempt to try a
      dashed external first.  The choice-of-pager-not-honored-from-
      subdirectory bug still applies here, too.
      
      (1b) is not a regression.  There is no need to fix it yet.
      
      Noticed by Junio.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      030149a4
    • J
      MERGE_RR is in .git, not .git/rr-cache · 3ca399d4
      Jay Soffian 提交于
      0af0ac7e (Move MERGE_RR from .git/rr-cache/ into .git/) moved the
      location of MERGE_RR but I found a few references to the old
      location.
      Signed-off-by: NJay Soffian <jaysoffian@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3ca399d4
    • W
      merge-tree: fix where two branches share no changes · 21baa6e0
      Will Palmer 提交于
      15b4f7a6 (merge-tree: use ll_merge() not xdl_merge(), 2010-01-16)
      introduced a regression to merge-tree to cause it to segfault when merging
      files which existed in one branch, but not in the other or in the
      merge-base. This was caused by referencing entry->path at a time when
      entry was known to be possibly-NULL.
      
      To correct the problem, we save the path of the entry we came in with,
      as the path should be the same among all the stages no matter which
      sides are involved in the merge.
      Signed-off-by: NWill Palmer <wmpalmer@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      21baa6e0