1. 18 4月, 2006 5 次提交
  2. 17 4月, 2006 5 次提交
  3. 16 4月, 2006 5 次提交
  4. 15 4月, 2006 11 次提交
    • J
      diff-tree: typefix. · 5069b1cf
      Junio C Hamano 提交于
      Recent diff_tree_setup_paths() update made it take a second
      argument of type "struct diff_options", but we passed another
      struct that happenes to have that type at the beginning by
      mistake.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5069b1cf
    • J
      GIT v1.3.0-rc4 · 42b5c788
      Junio C Hamano 提交于
      I've merged everything I think is ready for 1.3.0, so this is
      the final round -- hopefully I can release this with minimum
      last-minute fixup as v1.3.0 early next week.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      42b5c788
    • J
      Merge branch 'dl/xdiff' · 170abc81
      Junio C Hamano 提交于
      * dl/xdiff:
        xdiff: post-process hunks to make them consistent.
      170abc81
    • J
      Merge branch 'js/diffstat' · afcb536f
      Junio C Hamano 提交于
      * js/diffstat:
        diff --stat: no need to ask funcnames nor context.
        diff-options: add --stat (take 2)
        diff-options: add --stat (take 2)
      afcb536f
    • J
      Merge branch 'jc/fix5500' · a3cc31fb
      Junio C Hamano 提交于
      * jc/fix5500:
        t5500: test fix
      a3cc31fb
    • J
      rev-list --bisect: limit list before bisecting. · 4e1dc640
      Junio C Hamano 提交于
      I noticed bisect does not work well without both good and bad.
      Running this script in git.git repository would give you quite
      different results:
      
      	#!/bin/sh
              initial=e83c5163
      
              mid0=`git rev-list --bisect ^$initial --all`
      
              git rev-list $mid0 | wc -l
              git rev-list ^$mid0 --all | wc -l
      
              mid1=`git rev-list --bisect --all`
      
              git rev-list $mid1 | wc -l
              git rev-list ^$mid1 --all | wc -l
      
      The $initial commit is the very first commit you made.  The
      first midpoint bisects things evenly as designed, but the latter
      does not.
      
      The reason I got interested in this was because I was wondering
      if something like the following would help people converting a
      huge repository from foreign SCM, or preparing a repository to
      be fetched over plain dumb HTTP only:
      
              #!/bin/sh
      
              N=4
              P=.git/objects/pack
              bottom=
      
              while test 0 \< $N
              do
                      N=$((N-1))
                      if test -z "$bottom"
                      then
                              newbottom=`git rev-list --bisect --all`
                      else
                              newbottom=`git rev-list --bisect ^$bottom --all`
                      fi
                      if test -z "$bottom"
                      then
                              rev_list="$newbottom"
                      elif test 0 = $N
                      then
                              rev_list="^$bottom --all"
                      else
                              rev_list="^$bottom $newbottom"
                      fi
                      p=$(git rev-list --unpacked --objects $rev_list |
                          git pack-objects $P/pack)
                      git show-index <$P/pack-$p.idx | wc -l
                      bottom=$newbottom
              done
      
      The idea is to pack older half of the history to one pack, then
      older half of the remaining history to another, to continue a
      few times, using finer granularity as we get closer to the tip.
      
      This may not matter, since for a truly huge history, running
      bisect number of times could be quite time consuming, and we
      might be better off running "git rev-list --all" once into a
      temporary file, and manually pick cut-off points from the
      resulting list of commits.  After all we are talking about
      "approximately half" for such an usage, and older history does
      not matter much.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4e1dc640
    • L
      Clean up trailing whitespace when pretty-printing commits · 40c2fe00
      Linus Torvalds 提交于
      Partly because we've messed up and now have some commits with trailing
      whitespace, but partly because this also just simplifies the code, let's
      remove trailing whitespace from the end when pretty-printing commits.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      40c2fe00
    • J
      "git cmd -h" for shell scripts. · cad1ed95
      Junio C Hamano 提交于
      Wrappers that use sh-setup took --help but not -h.  Noticed by
      Sébastien Pierre.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      cad1ed95
    • J
      git-log <diff-options> <paths> documentation · e51c3b50
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e51c3b50
    • J
      Retire git-log.sh (take #4) · e3a125a9
      Junio C Hamano 提交于
      Noticed by Johannes.  We do not install it anymore, but still have
      been shipping the source, which was crazy.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e3a125a9
    • J
      stripspace: incomplete line fix (take #2) · 5cf7e21f
      Junio C Hamano 提交于
      This fixes f4ee3eb6 breakage, which
      added an extra trailing blank line after stripping trailing blank lines
      by mistake.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5cf7e21f
  5. 14 4月, 2006 9 次提交
  6. 13 4月, 2006 5 次提交