Autogenerated HTML docs for v1.5.0-50-gb7581
authorJunio C Hamano <junio@hera.kernel.org>
Sun, 18 Feb 2007 00:34:59 +0000 (00:34 +0000)
committerJunio C Hamano <junio@hera.kernel.org>
Sun, 18 Feb 2007 00:34:59 +0000 (00:34 +0000)
22 files changed:
RelNotes-1.5.0.1.txt
RelNotes-1.5.1.txt
core-intro.txt
git-checkout.html
git-checkout.txt
git-merge.html
git-merge.txt
git-name-rev.html
git-name-rev.txt
git-rebase.html
git-rebase.txt
git-rerere.html
git-rerere.txt
git-reset.html
git-reset.txt
git-runstatus.html
git-runstatus.txt
git-status.html
git-status.txt
git.html
tutorial-2.html
tutorial-2.txt

index 982282a..5dff2a2 100644 (file)
@@ -7,14 +7,31 @@ Fixes since v1.5.0
 * Documentation updates
 
   - Clarifications and corrections to 1.5.0 release notes.
+
   - The main documentation did not link to git-remote documentation.
 
+  - Clarified introductory text of git-rebase documentation.
+
+  - Converted remaining mentions of update-index on Porcelain
+    documents to git-add/git-rm.
+
 * Bugfixes
 
   - git-daemon marks the listening sockets with FD_CLOEXEC so
     that it won't be leaked into the children.
 
+  - segfault from git-blame when the mandatory pathname
+    parameter was missing was fixed; usage() message is given
+    instead.
+
+* Tweaks
+
+  - sliding mmap() inefficiently mmaped the same region of a
+    packfile with an access pattern that used objects in the
+    reverse order.  This has been made more efficient.
+
 --
-O=v1.5.0-7-g37b73cf
+exec >/var/tmp/1
+O=v1.5.0-24-g460ca30
 echo O=`git describe maint`
-git shortlog --no-merges $O..
+git shortlog --no-merges $O..maint
index 1bb6cc1..4d37186 100644 (file)
@@ -19,21 +19,26 @@ Updates since v1.5.0
   - "git diff" learned --ignore-space-at-eol.  This is a weaker
     form of --ignore-space-change.
 
+  - "git name-rev" learned --refs=<pattern>, to limit the tags
+    used for naming the given revisions only to the ones
+    matching the given pattern.
+
 * Updated behaviour of existing commands.
 
- - "git diff" outputs a trailing HT when pathnames have embedded
-   SP on +++/--- header lines, in order to help "GNU patch" to
-   parse its output.  "git apply" was already updated to accept
-   this modified output format since ce74618d (Sep 22, 2006).
 - "git diff" outputs a trailing HT when pathnames have embedded
+    SP on +++/--- header lines, in order to help "GNU patch" to
+    parse its output.  "git apply" was already updated to accept
+    this modified output format since ce74618d (Sep 22, 2006).
 
 * Hooks
 
- - The sample update hook to show how to send out notification
-   e-mail was updated to show only new commits that appeared in
-   the repository.  Earlier, it showed new commits that appeared
-   on the branch.
 - The sample update hook to show how to send out notification
+    e-mail was updated to show only new commits that appeared in
+    the repository.  Earlier, it showed new commits that appeared
+    on the branch.
 
 --
-O=v1.5.0-20-ga44a0c9
+exec >/var/tmp/1
+O=v1.5.0-49-g69bc0e2
 echo O=`git describe master`
-git shortlog --no-merges $O..
+git shortlog --no-merges $O..master ^maint
index 24b060b..eea44d9 100644 (file)
@@ -106,7 +106,8 @@ directory tree, and renaming a file does not change the object that
 file is associated with in any way.
 
 A blob is typically created when gitlink:git-update-index[1]
-is run, and its data can be accessed by gitlink:git-cat-file[1].
+(or gitlink:git-add[1]) is run, and its data can be accessed by
+gitlink:git-cat-file[1].
 
 Tree Object
 ~~~~~~~~~~~
index 14b659e..843465c 100644 (file)
@@ -347,7 +347,8 @@ working tree.</p>
 </p>\r
 <p>When a merge conflict happens, the index entries for conflicting\r
 paths are left unmerged, and you need to resolve the conflicts\r
-and mark the resolved paths with <tt>git update-index</tt>.</p>\r
+and mark the resolved paths with <tt>git add</tt> (or <tt>git rm</tt> if the merge\r
+should result in deletion of the path).</p>\r
 </dd>\r
 <dt>\r
 &lt;new_branch&gt;\r
@@ -487,11 +488,11 @@ fatal: merge program failed</tt></pre>
 <p>At this point, <tt>git diff</tt> shows the changes cleanly merged as in\r
 the previous example, as well as the changes in the conflicted\r
 files.  Edit and resolve the conflict and mark it resolved with\r
-<tt>git update-index</tt> as usual:</p>\r
+<tt>git add</tt> as usual:</p>\r
 <div class="listingblock">\r
 <div class="content">\r
 <pre><tt>$ edit frotz\r
-$ git update-index frotz</tt></pre>\r
+$ git add frotz</tt></pre>\r
 </div></div>\r
 </li>\r
 </ol>\r
@@ -510,7 +511,7 @@ $ git update-index frotz</tt></pre>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 13-Feb-2007 23:48:05 UTC\r
+Last updated 18-Feb-2007 00:34:40 UTC\r
 </div>\r
 </div>\r
 </body>\r
index e4ffde4..1ae77be 100644 (file)
@@ -61,7 +61,8 @@ OPTIONS
 +
 When a merge conflict happens, the index entries for conflicting
 paths are left unmerged, and you need to resolve the conflicts
-and mark the resolved paths with `git update-index`.
+and mark the resolved paths with `git add` (or `git rm` if the merge
+should result in deletion of the path).
 
 <new_branch>::
        Name for the new branch.
@@ -179,11 +180,11 @@ fatal: merge program failed
 At this point, `git diff` shows the changes cleanly merged as in
 the previous example, as well as the changes in the conflicted
 files.  Edit and resolve the conflict and mark it resolved with
-`git update-index` as usual:
+`git add` as usual:
 +
 ------------
 $ edit frotz
-$ git update-index frotz
+$ git add frotz
 ------------
 
 
index 34c16de..a851ff1 100644 (file)
@@ -545,7 +545,7 @@ Decide not to merge.  The only clean-up you need are to reset
 <p>\r
 Resolve the conflicts.  <tt>git-diff</tt> would report only the\r
    conflicting paths because of the above 2. and 3..  Edit the\r
-   working tree files into a desirable shape, <tt>git-update-index</tt>\r
+   working tree files into a desirable shape, <tt>git-add</tt> or <tt>git-rm</tt>\r
    them, to make the index file contain what the merge result\r
    should be, and run <tt>git-commit</tt> to commit the result.\r
 </p>\r
@@ -570,7 +570,7 @@ Resolve the conflicts.  <tt>git-diff</tt> would report only the
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 13-Feb-2007 05:16:09 UTC\r
+Last updated 18-Feb-2007 00:34:41 UTC\r
 </div>\r
 </div>\r
 </body>\r
index e53ff4b..9c08efa 100644 (file)
@@ -136,7 +136,7 @@ After seeing a conflict, you can do two things:
 
  * Resolve the conflicts.  `git-diff` would report only the
    conflicting paths because of the above 2. and 3..  Edit the
-   working tree files into a desirable shape, `git-update-index`
+   working tree files into a desirable shape, `git-add` or `git-rm`
    them, to make the index file contain what the merge result
    should be, and run `git-commit` to commit the result.
 
index c42f538..2ee23be 100644 (file)
@@ -272,7 +272,8 @@ git-name-rev(1) Manual Page
 </div>\r
 <h2>SYNOPSIS</h2>\r
 <div class="sectionbody">\r
-<p><em>git-name-rev</em> [--tags] ( --all | --stdin | &lt;committish&gt;&#8230; )</p>\r
+<p><em>git-name-rev</em> [--tags] [--refs=&lt;pattern&gt;]\r
+               ( --all | --stdin | &lt;committish&gt;&#8230; )</p>\r
 </div>\r
 <h2>DESCRIPTION</h2>\r
 <div class="sectionbody">\r
@@ -291,6 +292,14 @@ format parsable by git-rev-parse.</p>
 </p>\r
 </dd>\r
 <dt>\r
+--refs=&lt;pattern&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Only use refs whose names match a given shell pattern.\r
+</p>\r
+</dd>\r
+<dt>\r
 --all\r
 </dt>\r
 <dd>\r
@@ -342,7 +351,7 @@ not the context.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 03-Oct-2006 08:41:15 UTC\r
+Last updated 18-Feb-2007 00:34:41 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 37fbf66..5b5c4c8 100644 (file)
@@ -8,7 +8,8 @@ git-name-rev - Find symbolic names for given revs
 
 SYNOPSIS
 --------
-'git-name-rev' [--tags] ( --all | --stdin | <committish>... )
+'git-name-rev' [--tags] [--refs=<pattern>]
+              ( --all | --stdin | <committish>... )
 
 DESCRIPTION
 -----------
@@ -22,6 +23,9 @@ OPTIONS
 --tags::
        Do not use branch names, but only tags to name the commits
 
+--refs=<pattern>::
+       Only use refs whose names match a given shell pattern.
+
 --all::
        List all commits reachable from all refs
 
index e7f45f9..c149d5b 100644 (file)
@@ -277,19 +277,23 @@ git-rebase(1) Manual Page
 </div>\r
 <h2>DESCRIPTION</h2>\r
 <div class="sectionbody">\r
-<p>git-rebase replaces &lt;branch&gt; with a new branch of the same name.  When\r
-the --onto option is provided the new branch starts out with a HEAD equal\r
-to &lt;newbase&gt;, otherwise it is equal to &lt;upstream&gt;.  It then attempts to\r
-create a new commit for each commit from the original &lt;branch&gt; that does\r
-not exist in the &lt;upstream&gt; branch.</p>\r
+<p>If &lt;branch&gt; is specified, git-rebase will perform an automatic\r
+<tt>git checkout &lt;branch&gt;</tt> before doing anything else.  Otherwise\r
+it remains on the current branch.</p>\r
+<p>All changes made by commits in the current branch but that are not\r
+in &lt;upstream&gt; are saved to a temporary area.  This is the same set\r
+of commits that would be shown by <tt>git log &lt;upstream&gt;..HEAD</tt>.</p>\r
+<p>The current branch is reset to &lt;upstream&gt;, or &lt;newbase&gt; if the\r
+--onto option was supplied.  This has the exact same effect as\r
+<tt>git reset --hard &lt;upstream&gt;</tt> (or &lt;newbase&gt;).</p>\r
+<p>The commits that were previously saved into the temporary area are\r
+then reapplied to the current branch, one by one, in order.</p>\r
 <p>It is possible that a merge failure will prevent this process from being\r
 completely automatic.  You will have to resolve any such merge failure\r
 and run <tt>git rebase --continue</tt>.  Another option is to bypass the commit\r
 that caused the merge failure with <tt>git rebase --skip</tt>.  To restore the\r
 original &lt;branch&gt; and remove the .dotest working files, use the command\r
 <tt>git rebase --abort</tt> instead.</p>\r
-<p>Note that if &lt;branch&gt; is not specified on the command line, the currently\r
-checked out branch is used.</p>\r
 <p>Assume the following history exists and the current branch is "topic":</p>\r
 <div class="listingblock">\r
 <div class="content">\r
@@ -393,7 +397,7 @@ file you edit, you need to tell git that the conflict has been resolved,
 typically this would be done with</p>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>git update-index &lt;filename&gt;</tt></pre>\r
+<pre><tt>git add &lt;filename&gt;</tt></pre>\r
 </div></div>\r
 <p>After resolving the conflict manually and updating the index with the\r
 desired resolution, you can continue the rebasing process with</p>\r
@@ -591,7 +595,7 @@ a rebase.  Upon completion, &lt;branch&gt; will be the current branch.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 12-Feb-2007 07:15:21 UTC\r
+Last updated 18-Feb-2007 00:34:42 UTC\r
 </div>\r
 </div>\r
 </body>\r
index f2ef1f7..2f417a8 100644 (file)
@@ -13,11 +13,20 @@ SYNOPSIS
 
 DESCRIPTION
 -----------
-git-rebase replaces <branch> with a new branch of the same name.  When
-the --onto option is provided the new branch starts out with a HEAD equal
-to <newbase>, otherwise it is equal to <upstream>.  It then attempts to
-create a new commit for each commit from the original <branch> that does
-not exist in the <upstream> branch.
+If <branch> is specified, git-rebase will perform an automatic
+`git checkout <branch>` before doing anything else.  Otherwise
+it remains on the current branch.
+
+All changes made by commits in the current branch but that are not
+in <upstream> are saved to a temporary area.  This is the same set
+of commits that would be shown by `git log <upstream>..HEAD`.
+
+The current branch is reset to <upstream>, or <newbase> if the
+--onto option was supplied.  This has the exact same effect as
+`git reset --hard <upstream>` (or <newbase>).
+
+The commits that were previously saved into the temporary area are
+then reapplied to the current branch, one by one, in order.
 
 It is possible that a merge failure will prevent this process from being
 completely automatic.  You will have to resolve any such merge failure
@@ -26,9 +35,6 @@ that caused the merge failure with `git rebase --skip`.  To restore the
 original <branch> and remove the .dotest working files, use the command
 `git rebase --abort` instead.
 
-Note that if <branch> is not specified on the command line, the currently
-checked out branch is used.
-
 Assume the following history exists and the current branch is "topic":
 
 ------------
@@ -142,7 +148,7 @@ file you edit, you need to tell git that the conflict has been resolved,
 typically this would be done with
 
 
-    git update-index <filename>
+    git add <filename>
 
 
 After resolving the conflict manually and updating the index with the
index 2a2beef..c279b3b 100644 (file)
@@ -437,8 +437,7 @@ If this three-way merge resolves cleanly, the result is written
 out to your working tree file, so you would not have to manually\r
 resolve it.  Note that <tt>git-rerere</tt> leaves the index file alone,\r
 so you still need to do the final sanity checks with <tt>git diff</tt>\r
-(or <tt>git diff -c</tt>) and <tt>git update-index</tt> when you are\r
-satisfied.</p>\r
+(or <tt>git diff -c</tt>) and <tt>git add</tt> when you are satisfied.</p>\r
 <p>As a convenience measure, <tt>git-merge</tt> automatically invokes\r
 <tt>git-rerere</tt> when it exits with a failed automerge, which\r
 records it if it is a new conflict, or reuses the earlier hand\r
@@ -482,7 +481,7 @@ conflict.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:32 UTC\r
+Last updated 18-Feb-2007 00:34:42 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 139b6eb..7ff9b05 100644 (file)
@@ -163,8 +163,7 @@ If this three-way merge resolves cleanly, the result is written
 out to your working tree file, so you would not have to manually
 resolve it.  Note that `git-rerere` leaves the index file alone,
 so you still need to do the final sanity checks with `git diff`
-(or `git diff -c`) and `git update-index` when you are
-satisfied.
+(or `git diff -c`) and `git add` when you are satisfied.
 
 As a convenience measure, `git-merge` automatically invokes
 `git-rerere` when it exits with a failed automerge, which
index 86fcfd3..4e8ea5f 100644 (file)
@@ -419,13 +419,13 @@ Switch to "topic/wip" branch and keep working.
 </ol>\r
 </dd>\r
 <dt>\r
-Undo update-index\r
+Undo add\r
 </dt>\r
 <dd>\r
 <div class="listingblock">\r
 <div class="content">\r
 <pre><tt>$ edit                                     <b>(1)</b>\r
-$ git-update-index frotz.c filfre.c\r
+$ git add frotz.c filfre.c\r
 $ mailx                                    <b>(2)</b>\r
 $ git reset                                <b>(3)</b>\r
 $ git pull git://info.example.com/ nitfol  <b>(4)</b></tt></pre>\r
@@ -566,7 +566,7 @@ At this point the index file still has all the WIP changes you
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 15-Jan-2007 06:12:34 UTC\r
+Last updated 18-Feb-2007 00:34:43 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 04475a9..5b55cda 100644 (file)
@@ -94,11 +94,11 @@ current HEAD.
 <2> Rewind the master branch to get rid of those three commits.
 <3> Switch to "topic/wip" branch and keep working.
 
-Undo update-index::
+Undo add::
 +
 ------------
 $ edit                                     <1>
-$ git-update-index frotz.c filfre.c
+$ git add frotz.c filfre.c
 $ mailx                                    <2>
 $ git reset                                <3>
 $ git pull git://info.example.com/ nitfol  <4>
index ccbb05d..3043c35 100644 (file)
@@ -279,7 +279,7 @@ git-runstatus(1) Manual Page
 <p>Examines paths in the working tree that has changes unrecorded\r
 to the index file, and changes between the index file and the\r
 current HEAD commit.  The former paths are what you _could_\r
-commit by running <em>git-update-index</em> before running <em>git\r
+commit by running <em>git add</em> (or <em>git rm</em> if you are deleting) before running <em>git\r
 commit</em>, and the latter paths are what you _would_ commit by\r
 running <em>git commit</em>.</p>\r
 <p>If there is no path that is different between the index file and\r
@@ -355,7 +355,7 @@ of git-commit, and later rewritten in C by Jeff King.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 18-Nov-2006 22:17:48 UTC\r
+Last updated 18-Feb-2007 00:34:43 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 89d7b92..8bb52f4 100644 (file)
@@ -16,7 +16,7 @@ DESCRIPTION
 Examines paths in the working tree that has changes unrecorded
 to the index file, and changes between the index file and the
 current HEAD commit.  The former paths are what you _could_
-commit by running 'git-update-index' before running 'git
+commit by running 'git add' (or 'git rm' if you are deleting) before running 'git
 commit', and the latter paths are what you _would_ commit by
 running 'git commit'.
 
index b0f6854..422048e 100644 (file)
@@ -279,7 +279,7 @@ git-status(1) Manual Page
 <p>Examines paths in the working tree that has changes unrecorded\r
 to the index file, and changes between the index file and the\r
 current HEAD commit.  The former paths are what you _could_\r
-commit by running <em>git-update-index</em> before running <em>git\r
+commit by running <em>git add</em> before running <em>git\r
 commit</em>, and the latter paths are what you _would_ commit by\r
 running <em>git commit</em>.</p>\r
 <p>If there is no path that is different between the index file and\r
@@ -316,7 +316,7 @@ Junio C Hamano &lt;junkio@cox.net&gt;.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:34 UTC\r
+Last updated 18-Feb-2007 00:34:44 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 03871e5..e9e193f 100644 (file)
@@ -15,7 +15,7 @@ DESCRIPTION
 Examines paths in the working tree that has changes unrecorded
 to the index file, and changes between the index file and the
 current HEAD commit.  The former paths are what you _could_
-commit by running 'git-update-index' before running 'git
+commit by running 'git add' before running 'git
 commit', and the latter paths are what you _would_ commit by
 running 'git commit'.
 
index c64f507..08e14fc 100644 (file)
--- a/git.html
+++ b/git.html
@@ -1837,7 +1837,8 @@ object. The object is totally independent of its location in the
 directory tree, and renaming a file does not change the object that\r
 file is associated with in any way.</p>\r
 <p>A blob is typically created when <a href="git-update-index.html">git-update-index(1)</a>\r
-is run, and its data can be accessed by <a href="git-cat-file.html">git-cat-file(1)</a>.</p>\r
+(or <a href="git-add.html">git-add(1)</a>) is run, and its data can be accessed by\r
+<a href="git-cat-file.html">git-cat-file(1)</a>.</p>\r
 <h3>Tree Object</h3>\r
 <p>The next hierarchical object type is the "tree" object.  A tree object\r
 is a list of mode/name/blob data, sorted by name.  Alternatively, the\r
@@ -2289,7 +2290,7 @@ contributors on the git-list &lt;git@vger.kernel.org&gt;.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 14-Feb-2007 07:23:36 UTC\r
+Last updated 18-Feb-2007 00:34:44 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 804c395..e9fe246 100644 (file)
@@ -485,7 +485,7 @@ what's happening:</p>
 @@ -1 +1,2 @@\r
  hello world!\r
 +hello world, again\r
-$ git update-index file.txt\r
+$ git add file.txt\r
 $ git diff</tt></pre>\r
 </div></div>\r
 <p>The last diff is empty, but no new commits have been made, and the\r
@@ -515,7 +515,7 @@ $ git cat-file blob 513feba2
 hello world!\r
 hello world, again</tt></pre>\r
 </div></div>\r
-<p>So what our "git update-index" did was store a new blob and then put\r
+<p>So what our "git add" did was store a new blob and then put\r
 a reference to it in the index file.  If we modify the file again,\r
 we'll see that the new modifications are reflected in the "git-diff"\r
 output:</p>\r
@@ -645,7 +645,7 @@ example, creating a new commit.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 03-Feb-2007 08:07:24 UTC\r
+Last updated 18-Feb-2007 00:34:47 UTC\r
 </div>\r
 </div>\r
 </body>\r
index 8d89992..af8d43b 100644 (file)
@@ -227,7 +227,7 @@ $ git diff
 @@ -1 +1,2 @@
  hello world!
 +hello world, again
-$ git update-index file.txt
+$ git add file.txt
 $ git diff
 ------------------------------------------------
 
@@ -260,7 +260,7 @@ hello world!
 hello world, again
 ------------------------------------------------
 
-So what our "git update-index" did was store a new blob and then put
+So what our "git add" did was store a new blob and then put
 a reference to it in the index file.  If we modify the file again,
 we'll see that the new modifications are reflected in the "git-diff"
 output: