1. 17 2月, 2008 1 次提交
  2. 12 2月, 2008 1 次提交
  3. 02 2月, 2008 1 次提交
  4. 07 1月, 2008 1 次提交
    • D
      Documentation: rename gitlink macro to linkgit · 5162e697
      Dan McGee 提交于
      Between AsciiDoc 8.2.2 and 8.2.3, the following change was made to the stock
      Asciidoc configuration:
      
      @@ -149,7 +153,10 @@
       # Inline macros.
       # Backslash prefix required for escape processing.
       # (?s) re flag for line spanning.
      -(?su)[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])=
      +
      +# Explicit so they can be nested.
      +(?su)[\\]?(?P<name>(http|https|ftp|file|mailto|callto|image|link)):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])=
      +
       # Anchor: [[[id]]]. Bibliographic anchor.
       (?su)[\\]?\[\[\[(?P<attrlist>[\w][\w-]*?)\]\]\]=anchor3
       # Anchor: [[id,xreflabel]]
      
      This default regex now matches explicit values, and unfortunately in this
      case gitlink was being matched by just 'link', causing the wrong inline
      macro template to be applied. By renaming the macro, we can avoid being
      matched by the wrong regex.
      Signed-off-by: NDan McGee <dpmcgee@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5162e697
  5. 19 12月, 2007 1 次提交
  6. 15 12月, 2007 1 次提交
    • J
      Start preparing the API documents. · 530e741c
      Junio C Hamano 提交于
      Most of them are still stubs, but the procedure to build the HTML
      documentation, maintaining the index and installing the end product are
      there.
      
      I placed names of people who are likely to know the most about the topic
      in the stub files, so that volunteers will know whom to ask questions as
      needed.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      530e741c
  7. 04 12月, 2007 3 次提交
  8. 24 10月, 2007 1 次提交
  9. 16 10月, 2007 1 次提交
  10. 04 10月, 2007 1 次提交
  11. 01 10月, 2007 1 次提交
  12. 16 9月, 2007 1 次提交
    • J
      documentation: replace Discussion section by link to user-manual chapter · 40dac517
      J. Bruce Fields 提交于
      The "Discussion" section has a lot of useful information, but is a
      little wordy, especially for an already-long man page, and is designed
      for an audience more of potential git hackers than users, which probably
      doesn't make as much sense as git matures.  Also, I (perhaps foolishly)
      forked a version in the user manual, which has been significantly
      rewritten in an attempt to address some of the above problems.
      
      So, remove this section and replace it by a (very terse) summary of the
      original material--my attempt at the World's Shortest Git Overview--and
      a reference to the appropriate chapter of the user manual.  It's
      unfortunate to remove something that's been in this place for a long
      time, as some people may still depend on finding it there.  But I think
      we'll want to do this some day anyway.
      
      Cc: Andreas Ericsson <ae@op5.se>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      40dac517
  13. 03 9月, 2007 1 次提交
    • J
      GIT 1.5.3.1: obsolete git-p4 in RPM spec file. · 5587cac2
      Junio C Hamano 提交于
      HPA noticed that yum does not like the newer git RPM set; it turns out
      that we do not ship git-p4 anymore but existing installations do not
      realize the package is gone if we do not tell anything about it.
      
      David Kastrup suggests using Obsoletes in the spec file of the new
      RPM to replace the old package, so here is a try.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5587cac2
  14. 01 9月, 2007 1 次提交
  15. 28 8月, 2007 1 次提交
    • J
      git --bare cmd: do not unconditionally nuke GIT_DIR · 9277d602
      Junio C Hamano 提交于
      "GIT_DIR=some.where git --bare cmd" and worse yet
      "git --git-dir=some.where --bare cmd" were very confusing.  They
      both ignored git-dir specified, and instead made $cwd as GIT_DIR.
      
      This changes --bare not to override existing GIT_DIR.
      
      This has been like this for a long time.  Let's hope nobody sane
      relied on this insane behaviour.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9277d602
  16. 20 8月, 2007 1 次提交
  17. 16 8月, 2007 1 次提交
  18. 04 8月, 2007 1 次提交
  19. 20 7月, 2007 1 次提交
  20. 13 7月, 2007 2 次提交
    • J
      Update git-merge documentation. · dbddb714
      Jakub Narebski 提交于
      Add "Configuration" section to describe merge.summary
      configuration variable (which is mentioned in git-fmt-merge-msg(1)
      man page, but it is a plumbing command), and merge.verbosity
      configuration variable (so there is a place to make reference
      from "Environment Variables" section of git(7) man page) to the
      git-merge(1) man page.  Also describe GIT_MERGE_VERBOSITY
      environment.
      
      The configuration variable merge.verbosity and environment variable
      GIT_MERGE_VERBOSITY were introduced in commit 8c3275ab, which also
      documented configuration variable but not environment variable.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dbddb714
    • J
      Update list of older git docs · baafd6e7
      Junio C Hamano 提交于
      baafd6e7
  21. 02 7月, 2007 1 次提交
  22. 01 7月, 2007 1 次提交
    • T
      Don't fflush(stdout) when it's not helpful · 06f59e9f
      Theodore Ts'o 提交于
      This patch arose from a discussion started by Jim Meyering's patch
      whose intention was to provide better diagnostics for failed writes.
      Linus proposed a better way to do things, which also had the added
      benefit that adding a fflush() to git-log-* operations and incremental
      git-blame operations could improve interactive respose time feel, at
      the cost of making things a bit slower when we aren't piping the
      output to a downstream program.
      
      This patch skips the fflush() calls when stdout is a regular file, or
      if the environment variable GIT_FLUSH is set to "0".  This latter can
      speed up a command such as:
      
      GIT_FLUSH=0 strace -c -f -e write time git-rev-list HEAD | wc -l
      
      a tiny amount.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      Acked-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      06f59e9f
  23. 17 6月, 2007 1 次提交
  24. 07 6月, 2007 2 次提交
    • J
      War on whitespace · a6080a0a
      Junio C Hamano 提交于
      This uses "git-apply --whitespace=strip" to fix whitespace errors that have
      crept in to our source files over time.  There are a few files that need
      to have trailing whitespaces (most notably, test vectors).  The results
      still passes the test, and build result in Documentation/ area is unchanged.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a6080a0a
    • M
      introduce GIT_WORK_TREE to specify the work tree · 892c41b9
      Matthias Lederhofer 提交于
      setup_gdg is used as abbreviation for setup_git_directory_gently.
      
      The work tree can be specified using the environment variable
      GIT_WORK_TREE and the config option core.worktree (the environment
      variable has precendence over the config option).  Additionally
      there is a command line option --work-tree which sets the
      environment variable.
      
      setup_gdg does the following now:
      
      GIT_DIR unspecified
      repository in .git directory
          parent directory of the .git directory is used as work tree,
          GIT_WORK_TREE is ignored
      
      GIT_DIR unspecified
      repository in cwd
          GIT_DIR is set to cwd
          see the cases with GIT_DIR specified what happens next and
          also see the note below
      
      GIT_DIR specified
      GIT_WORK_TREE/core.worktree unspecified
          cwd is used as work tree
      
      GIT_DIR specified
      GIT_WORK_TREE/core.worktree specified
          the specified work tree is used
      
      Note on the case where GIT_DIR is unspecified and repository is in cwd:
          GIT_WORK_TREE is used but is_inside_git_dir is always true.
          I did it this way because setup_gdg might be called multiple
          times (e.g. when doing alias expansion) and in successive calls
          setup_gdg should do the same thing every time.
      
      Meaning of is_bare/is_inside_work_tree/is_inside_git_dir:
      
      (1) is_bare_repository
          A repository is bare if core.bare is true or core.bare is
          unspecified and the name suggests it is bare (directory not
          named .git).  The bare option disables a few protective
          checks which are useful with a working tree.  Currently
          this changes if a repository is bare:
              updates of HEAD are allowed
              git gc packs the refs
              the reflog is disabled by default
      
      (2) is_inside_work_tree
          True if the cwd is inside the associated working tree (if there
          is one), false otherwise.
      
      (3) is_inside_git_dir
          True if the cwd is inside the git directory, false otherwise.
          Before this patch is_inside_git_dir was always true for bare
          repositories.
      
      When setup_gdg finds a repository git_config(git_default_config) is
      always called.  This ensure that is_bare_repository makes use of
      core.bare and does not guess even though core.bare is specified.
      
      inside_work_tree and inside_git_dir are set if setup_gdg finds a
      repository.  The is_inside_work_tree and is_inside_git_dir functions
      will die if they are called before a successful call to setup_gdg.
      Signed-off-by: NMatthias Lederhofer <matled@gmx.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      892c41b9
  25. 20 5月, 2007 1 次提交
  26. 19 5月, 2007 2 次提交
  27. 09 5月, 2007 1 次提交
  28. 07 5月, 2007 1 次提交
  29. 01 5月, 2007 1 次提交
  30. 29 4月, 2007 2 次提交
  31. 22 4月, 2007 1 次提交
  32. 04 4月, 2007 3 次提交
    • J
      git-read-tree --index-output=<file> · 5e7f56ac
      Junio C Hamano 提交于
      This corrects the interface mistake of the previous one, and
      gives a command line parameter to the only plumbing command that
      currently needs it: "git-read-tree".
      
      We can add the calls to set_alternate_index_output() to other
      plumbing commands that update the index if/when needed.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5e7f56ac
    • J
      _GIT_INDEX_OUTPUT: allow plumbing to output to an alternative index file. · 30ca07a2
      Junio C Hamano 提交于
      When defined, this allows plumbing commands that update the
      index (add, apply, checkout-index, merge-recursive, mv,
      read-tree, rm, update-index, and write-tree) to write their
      resulting index to an alternative index file while holding a
      lock to the original index file.  With this, git-commit that
      jumps the index does not have to make an extra copy of the index
      file, and more importantly, it can do the update while holding
      the lock on the index.
      
      However, I think the interface to let an environment variable
      specify the output is a mistake, as shown in the documentation.
      If a curious user has the environment variable set to something
      other than the file GIT_INDEX_FILE points at, almost everything
      will break.  This should instead be a command line parameter to
      tell these plumbing commands to write the result in the named
      file, to prevent stupid mistakes.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      30ca07a2
    • J
      GIT 1.5.1 · 89815cab
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      89815cab