1. 26 9月, 2007 1 次提交
  2. 16 9月, 2007 1 次提交
  3. 07 6月, 2007 1 次提交
    • 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
  4. 26 4月, 2007 1 次提交
  5. 13 2月, 2007 1 次提交
  6. 03 2月, 2007 1 次提交
  7. 02 2月, 2007 1 次提交
  8. 29 1月, 2007 1 次提交
  9. 15 1月, 2007 2 次提交
  10. 13 1月, 2007 1 次提交
  11. 16 12月, 2006 2 次提交
    • S
      Provide more meaningful output from 'git init-db'. · ef0a89a6
      Shawn O. Pearce 提交于
      Back in the old days of Git when people messed around with their
      GIT_DIR environment variable more often it was nice to know whether
      or not git-init-db created a .git directory or used GIT_DIR.
      As most users at that time were rather technical UNIXy folk the
      message "defaulting to local storage area" made sense to some and
      seemed reasonable.
      
      But it doesn't really convey any meaning to the new Git user,
      as they don't know what a 'local storage area is' nor do they
      know enough about Git to care.  It also really doesn't tell the
      experienced Git user a whole lot about the command they just ran,
      especially if they might be reinitializing an existing repository
      (e.g. to update hooks).
      
      So now we print out what we did ("Initialized empty" or
      "Reinitialized existing"), what type of repository ("" or "shared"),
      and what location the repository will be in ("$GIT_DIR").
      
      Suggested in part by Andy Parkins in his Git 'niggles' list
      (<200612132237.10051.andyparkins@gmail.com>).
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ef0a89a6
    • N
      make commit message a little more consistent and conforting · ebd124c6
      Nicolas Pitre 提交于
      It is nicer to let the user know when a commit succeeded all the time,
      not only the first time.  Also the commit sha1 is much more useful than
      the tree sha1 in this case.
      
      This patch also introduces a -q switch to supress this message as well
      as the summary of created/deleted files.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ebd124c6
  12. 14 9月, 2006 1 次提交
  13. 04 6月, 2006 1 次提交
  14. 30 5月, 2006 1 次提交
  15. 08 5月, 2006 1 次提交
  16. 07 2月, 2006 2 次提交
    • J
      git-commit: revamp the git-commit semantics. · 130fcca6
      Junio C Hamano 提交于
       - "git commit" without _any_ parameter keeps the traditional
         behaviour.  It commits the current index.
      
         We commit the whole index even when this form is run from a
         subdirectory.
      
       - "git commit --include paths..." (or "git commit -i paths...")
         is equivalent to:
      
         	git update-index --remove paths...
              git commit
      
       - "git commit paths..." acquires a new semantics.  This is an
         incompatible change that needs user training, which I am
         still a bit reluctant to swallow, but enough people seem to
         have complained that it is confusing to them.  It
      
         1. refuses to run if $GIT_DIR/MERGE_HEAD exists, and reminds
            trained git users that the traditional semantics now needs
            -i flag.
      
         2. refuses to run if named paths... are different in HEAD and
            the index (ditto about reminding).  Added paths are OK.
      
         3. reads HEAD commit into a temporary index file.
      
         4. updates named paths... from the working tree in this
            temporary index.
      
         5. does the same updates of the paths... from the working
            tree to the real index.
      
         6. makes a commit using the temporary index that has the
            current HEAD as the parent, and updates the HEAD with this
            new commit.
      
       - "git commit --all" can run from a subdirectory, but it updates
         the index with all the modified files and does a whole tree
         commit.
      
       - In all cases, when the command decides not to create a new
         commit, the index is left as it was before the command is
         run.  This means that the two "git diff" in the following
         sequence:
      
             $ git diff
             $ git commit -a
             $ git diff
      
         would show the same diff if you abort the commit process by
         making the commit log message empty.
      
      This commit also introduces much requested --author option.
      
      	$ git commit --author 'A U Thor <author@example.com>'
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      130fcca6
    • J
      core-tutorial: adjust to recent reality. · 960c7021
      Junio C Hamano 提交于
      We still talked about HEAD symlinks but these days we use
      symrefs by default.
      
      Also 'failed/prevented' message is now gone from the merge
      output.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      960c7021
  17. 31 1月, 2006 1 次提交
    • J
      cvs-migration documentation update · b8bc67ce
      J. Bruce Fields 提交于
      Here's some changes to the cvs-migration.txt.  As usual, in my attempt
      to make things clearer someone may have found I've made them less so, or
      I may have just gotten something wrong; so any review is welcomed.
      
      I can break up this sort of thing into smaller steps if preferred, the
      monolothic patch is just a bit simpler for me for this sort of
      thing.
      
      I moved the material describing shared repository management from
      core-tutorial.txt to cvs-migration.txt, where it seems more appropriate,
      and combined two sections to eliminate some redundancy.
      
      I also revised the earlier sections of cvs-migration.txt, mainly trying
      to make it more concise.
      
      I've left the last section of cvs-migration.txt (on CVS annotate
      alternatives) alone for now.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      b8bc67ce
  18. 23 1月, 2006 2 次提交
    • J
      Recommend to remove unused `origin` in a shared repository. · 76b927f1
      Junio C Hamano 提交于
      It is a common mistake to leave an unsed `origin` branch behind
      if a shared public repository was created by first cloning from
      somewhere else.  Subsequent `git push` into it with the default
      "push all the matching ref" would push the `origin` branch from
      the developer repository uselessly.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      76b927f1
    • J
      New tutorial · 927a503c
      J. Bruce Fields 提交于
      The current Documentation/tutorial.txt concentrates on the lower-level
      git interfaces.  So it's useful to people developing alternative
      porcelains, to advanced users, etc., but not so much to beginning users.
      
      I think it makes sense for the main tutorial to address those
      beginnning users, so with this patch I'm proposing that we move
      Documentation/tutorial.txt to Documentation/core-tutorial.txt and
      replace it by a new tutorial.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      927a503c
  19. 15 1月, 2006 1 次提交
  20. 24 12月, 2005 1 次提交
  21. 21 12月, 2005 1 次提交
  22. 18 12月, 2005 1 次提交
  23. 15 12月, 2005 1 次提交
  24. 13 12月, 2005 1 次提交
    • J
      Documentation: not learning core git commands. · 9755afbd
      Junio C Hamano 提交于
      The initial section of tutorial was too heavy on internal
      workings for the first-time readers, so rewrite the introductory
      section of git(7) to start with "not learning core git commands"
      section and refer them to README to grasp the basic concepts,
      then Everyday to give overview with task/role oriented examples
      for minimum set of commands, and finally the tutorial.
      
      Also add to existing note in the tutorial that many too
      technical descriptions can be skipped by a casual reader.
      
      I initially started to review the tutorial, with the objective
      of ripping out the detailed technical information altogether,
      but I found that the level of details in the initial couple of
      sections that talk about refs and the object database in a
      hands-on fashion was about rigth, and left all of them there.  I
      feel that reading about fsck-index and repack is too abstract
      without being aware of these directories and files.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      9755afbd
  25. 08 12月, 2005 1 次提交
  26. 05 12月, 2005 1 次提交
    • J
      Documentation: shared repository management in tutorial. · dc5f9239
      Junio C Hamano 提交于
      The branch policy script I outlined was improved and polished by
      Carl and posted on the list twice since then.  It is a shame not
      to pick it up, so replace the original outline in
      howto/update-hook-example.txt with the latest from Carl.
      
      Also talk about setting up git-shell to allow git-push/git-fetch
      only SSH access to a shared repository host in the tutorial.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      dc5f9239
  27. 30 11月, 2005 1 次提交
  28. 22 11月, 2005 1 次提交
  29. 12 11月, 2005 1 次提交
  30. 08 11月, 2005 2 次提交
  31. 07 11月, 2005 1 次提交
  32. 04 11月, 2005 1 次提交
  33. 02 11月, 2005 1 次提交
  34. 16 10月, 2005 2 次提交