1. 03 6月, 2007 3 次提交
  2. 31 5月, 2007 5 次提交
  3. 29 5月, 2007 10 次提交
  4. 27 5月, 2007 1 次提交
    • S
      git-gui: Guess our share/git-gui/lib path at runtime if possible · ea75ee35
      Shawn O. Pearce 提交于
      Johannes Sixt asked me to try to avoid embedding the runtime location
      of git-gui's library directory in the executable script.  Not embedding
      it helps the MinGW to be relocatable to another directory should a user
      wish to install the programs in a directory other than the location the
      packager wanted them to be installed into.
      
      Most of this is a hack.  We try to determine if the path of our master
      git-gui script will be able to locate the lib by ../share/git-gui/lib.
      This should be true if $(gitexecdir) and $(libdir) have the same prefix.
      If they do then we defer the assignment of $(libdir) until runtime, and
      we get it from $argv0 rather than embedding it into the script itself.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      ea75ee35
  5. 26 5月, 2007 10 次提交
  6. 25 5月, 2007 4 次提交
    • J
      Merge branch 'master' of git://repo.or.cz/git/fastimport into maint · 6d9d26d8
      Junio C Hamano 提交于
      * 'master' of git://repo.or.cz/git/fastimport:
        Update bash completion for git-config options
        Teach bash completion about recent log long options
        Teach bash completion about 'git remote update'
        Update bash completion header documentation
        Remove a duplicate --not option in bash completion
        Teach bash completion about git-shortlog
        Hide the plumbing diff-{files,index,tree} from bash completion
        Update bash completion to ignore some more plumbing commands
      6d9d26d8
    • J
      Merge branch 'maint-1.5.1' into maint · 76026200
      Junio C Hamano 提交于
      * maint-1.5.1:
        fix memory leak in parse_object when check_sha1_signature fails
        name-rev: tolerate clock skew in committer dates
      76026200
    • C
      fix memory leak in parse_object when check_sha1_signature fails · 0b1f1130
      Carlos Rica 提交于
      When check_sha1_signature fails, program is not terminated:
      it prints an error message and returns NULL, so the
      buffer returned by read_sha1_file should be freed before.
      Signed-off-by: NCarlos Rica <jasampler@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0b1f1130
    • J
      name-rev: tolerate clock skew in committer dates · c075aea5
      Junio C Hamano 提交于
      In git.git repository, "git-name-rev v1.3.0~158" cannot name the
      rev, while adjacent revs can be named.
      
      This was because it gives up traversal from the tips of existing
      refs as soon as it sees a commit that has older commit timestamp
      than what is being named.  This is usually a good heuristics,
      but v1.3.0~158 has a slightly older commit timestamp than
      v1.3.0~157 (i.e. it's child), as these two were made in a
      separate repostiory (in fact, in a different continent).
      
      This adds a hardcoded slop value (1 day) to the cut-off
      heuristics to work this kind of problem around.  The current
      algorithm essentially runs around from the available tips down
      to ancient commits and names every single rev available that are
      newer than cut-off date, so a single day slop would not add that
      much overhead in repositories with long enough history where the
      performance of name-rev matters.
      
      I think the algorithm could be made a bit smarter by deepening
      the graph on demand as a new commit is asked to be named (this
      would require rewriting of name_rev() function not to recurse
      itself but use a traversal list like revision.c traverser does),
      but that would be a separate issue.
      Acked-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c075aea5
  7. 24 5月, 2007 7 次提交
    • S
      Correct key bindings to Control-<foo> · 3d5793bf
      Shawn O. Pearce 提交于
      Alberto Bertogli reported on #git that git-gui was exiting with
      alt-q, while gitk on the same system was exiting with ctrl-q.
      That was not what I wanted.  I really wanted M1B to be bound to
      the Control key on most non-Mac OS X platforms, but according to
      Sam Vilain M1 on most systems means alt.  Since gitk always does
      control, I'm doing the same thing for all non-Mac OS X systems.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      3d5793bf
    • S
      Update bash completion for git-config options · 12977705
      Shawn O. Pearce 提交于
      A few new configuration options grew out of the woodwork during the
      1.5.2 series.  Most of these are pretty easy to support a completion
      of, so we do so.
      
      I wanted to also add completion support for the <driver> part of
      merge.<driver>.name but to do that we have to look at all of the
      .gitattributes files and guess what the unique set of <driver>
      strings would be.  Since this appears to be non-trivial I'm punting
      on it at this time.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      12977705
    • S
      Teach bash completion about recent log long options · 8f87fae6
      Shawn O. Pearce 提交于
      (Somewhat) recently git-log learned about --reverse (to show commits
      in the opposite order) and a looong time ago I think it learned
      about --raw (to show the raw diff, rather than a unified diff).
      These are both useful options, so we should make them easy for the
      user to complete.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      8f87fae6
    • S
      Teach bash completion about 'git remote update' · fb72759b
      Shawn O. Pearce 提交于
      Recently the git-remote command grew an update subcommand, which
      can be used to execute git-fetch across multiple repositories
      in a single step.  These can be configured with the 'remotes.*'
      configuration options, so we can offer completion for any name that
      matches and appears to be useful to git-remote update.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      fb72759b
    • J
      Merge branch 'maint' of git://repo.or.cz/git/fastimport into maint · a21f0f0a
      Junio C Hamano 提交于
      * 'maint' of git://repo.or.cz/git/fastimport:
        Fix possible coredump with fast-import --import-marks
        Refactor fast-import branch creation from existing commit
        fast-import: Fix crash when referencing already existing objects
        fast-import: Fix uninitialized variable
      a21f0f0a
    • S
      Update bash completion header documentation · c70680ce
      Shawn O. Pearce 提交于
       1) Added a note about supporting the long options for most commands,
          as we have been doing so for quite some time.
      
       2) Include a notice that these routines are covered by the GPL,
          as that may not be obvious, even though they are distributed
          as part of the core Git distribution.
      
       3) Added a short section on how to send patches to the routines,
          and to whom they should get sent to.  Currently that is me,
          as I am the active maintainer.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      c70680ce
    • J
      Merge branch 'maint-1.5.1' into maint · baf5597a
      Junio C Hamano 提交于
      * maint-1.5.1:
        Documentation: fix git-config.xml generation
      baf5597a