1. 26 11月, 2008 1 次提交
    • C
      bisect: teach "skip" to accept special arguments like "A..B" · ee2314f5
      Christian Couder 提交于
      The current "git bisect skip" syntax is "git bisect skip [<rev>...]"
      so it's already possible to skip a range of revisions using
      something like:
      
      $ git bisect skip $(git rev-list A..B)
      
      where A and B are the bounds of the range we want to skip.
      
      This patch teaches "git bisect skip" to accept:
      
      $ git bisect skip A..B
      
      as an abbreviation for the former command.
      
      This is done by checking each argument to see if it contains two
      dots one after the other ('..'), and by expending it using
      "git rev-list" if that is the case.
      
      Note that this patch will not make "git bisect skip" accept all
      that "git rev-list" accepts, as things like "^A B" for exemple
      will not work. But things like "A B..C D E F.. ..G H...I" should
      work as expected.
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ee2314f5
  2. 24 11月, 2008 5 次提交
  3. 19 11月, 2008 5 次提交
  4. 18 11月, 2008 3 次提交
  5. 17 11月, 2008 12 次提交
  6. 16 11月, 2008 6 次提交
    • J
      Merge branch 'maint' · bf311153
      Junio C Hamano 提交于
      * maint:
        Teach ls-files --with-tree=<tree> to work with options other than -c
        builtin-ls-files.c: coding style fix.
      bf311153
    • J
      Merge branch 'bc/maint-keep-pack' · c9d8563c
      Junio C Hamano 提交于
      * bc/maint-keep-pack:
        repack: only unpack-unreachable if we are deleting redundant packs
      c9d8563c
    • J
      Merge branch 'jk/commit-v-strip' · 47a79253
      Junio C Hamano 提交于
      * jk/commit-v-strip:
        status: show "-v" diff even for initial commit
        wt-status: refactor initial commit printing
        define empty tree sha1 as a macro
      47a79253
    • L
      Fix machine-parseability of 'git log --source' · 8c4021ab
      Linus Torvalds 提交于
      The space between the commit and the source attribute is not easily
      machine-parseable: if we combine --source with --parents and give a SHA1
      as a starting point, it's unnecessarily hard to see where the list of
      parents ends and the source decoration begins.
      
      Example:
      	git show --parents --source $(git rev-list HEAD)
      
      which is admittedly contrived, but can easily happen in scripting.
      
      So use a <tab> instead of a space as the source separator.
      
      The other decorations didn't have this issue, because they were surrounded
      by parenthesis, so it's obvious that they aren't parent SHA1's.
      
      It so happens that _visually_ this makes no difference for "git log
      --source", since "commit <40-char SHA1>" is 47 characters, so both a space
      and a <tab> will end up showing as a single commit. Of course, with
      '--pretty=oneline' or '--parents' or '--abbrev-commit' you'll see the
      difference.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8c4021ab
    • J
      Teach ls-files --with-tree=<tree> to work with options other than -c · 4b4e26d2
      Junio C Hamano 提交于
      Originally --with-tree=<tree> was designed for the sole purpose of
      checking if a given pathspec makes sense as a parameter to git-commit
      using it in conjunction with --error-unmatch.  It had logic to avoid
      showing the same entry (one came from the original index, another from the
      overlayed tree) twice so that it works with -c (i.e. "show-cached"), but
      otherwise it was not designed to work with the flags such as -m, -d, etc.
      
      This teaches the same logic to cover the codepath for -m and -d.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4b4e26d2
    • J
      builtin-ls-files.c: coding style fix. · 07e77e40
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      07e77e40
  7. 15 11月, 2008 7 次提交
  8. 14 11月, 2008 1 次提交