1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-17 06:25:13 +01:00

Merge with master changes.

This commit is contained in:
Junio C Hamano 2005-08-16 18:49:04 -07:00
commit 7de94155ad
3 changed files with 36 additions and 10 deletions

View file

@ -37,15 +37,17 @@ otherwise it shows a space.
The following example shows three branches, "pu", "master" and The following example shows three branches, "pu", "master" and
"rc": "rc":
* [pu] Add cheap local clone '-s' flag to git-clone-script ------------------------------------------------
! [master] Documentation updates. * [pu] Add cheap local clone '-s' flag to git-clone-script
! [rc] Merge master into rc ! [master] Documentation updates.
+ Add cheap local clone '-s' flag to git-clone-script ! [rc] Merge master into rc
+ Alternate object pool mechanism updates. + Add cheap local clone '-s' flag to git-clone-script
+ Audit rev-parse users. + Alternate object pool mechanism updates.
++ Documentation updates. + Audit rev-parse users.
+ Merge master into rc ++ Documentation updates.
+++ [PATCH] plug memory leak in diff.c::diff_free_filepair() + Merge master into rc
+++ [PATCH] plug memory leak in diff.c::diff_free_filepair()
------------------------------------------------
These three branches all forked from a common commit, "[PATCH] These three branches all forked from a common commit, "[PATCH]
plug memory leak...", and "rc" has one commit ahead of it. The plug memory leak...", and "rc" has one commit ahead of it. The

View file

@ -74,9 +74,16 @@ link:git-write-tree.html[git-write-tree]::
link:git-pack-objects.html[git-pack-objects]:: link:git-pack-objects.html[git-pack-objects]::
Creates a packed archive of objects. Creates a packed archive of objects.
link:git-unpack-objects.html[git-unpack-objects]::
Unpacks objects out of a packed archive.
link:git-prune-packed.html[git-prune-packed]:: link:git-prune-packed.html[git-prune-packed]::
Remove extra objects that are already in pack files. Remove extra objects that are already in pack files.
link:git-apply.html[git-apply]::
Reads a "diff -up1" or git generated patch file and
applies it to the working tree.
Interrogation commands Interrogation commands
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
@ -92,6 +99,9 @@ link:git-diff-files.html[git-diff-files]::
link:git-diff-tree.html[git-diff-tree]:: link:git-diff-tree.html[git-diff-tree]::
Compares the content and mode of blobs found via two tree objects Compares the content and mode of blobs found via two tree objects
link:git-diff-stages.html[git-diff-stages]::
Compares two "merge stages" in the index file.
link:git-export.html[git-export]:: link:git-export.html[git-export]::
Exports each commit and a diff against each of its parents Exports each commit and a diff against each of its parents
@ -122,6 +132,9 @@ link:git-unpack-file.html[git-unpack-file]::
link:git-var.html[git-var]:: link:git-var.html[git-var]::
Displays a git logical variable Displays a git logical variable
link:git-show-index.html[git-show-index]::
Displays contents of a pack idx file.
link:git-verify-pack.html[git-verify-pack]:: link:git-verify-pack.html[git-verify-pack]::
Validates packed GIT archive files Validates packed GIT archive files
@ -201,6 +214,12 @@ link:git-show-branches-script.html[git-show-branches-script]::
link:git-repack-script.html[git-repack-script]:: link:git-repack-script.html[git-repack-script]::
Pack unpacked objects in a repository. Pack unpacked objects in a repository.
link:git-rename-script.html[git-rename]::
Rename files and directories.
link:git-ls-remote-script.html[git-ls-remote-script]::
Shows references in a remote or local repository.
Ancillary Commands Ancillary Commands
------------------ ------------------
@ -224,6 +243,9 @@ link:git-resolve-script.html[git-resolve-script]::
link:git-tag-script.html[git-tag-script]:: link:git-tag-script.html[git-tag-script]::
An example script to create a tag object signed with GPG An example script to create a tag object signed with GPG
link:git-cvsimport-script.html[git-cvsimport-script]::
Salvage your data out of another SCM people love to hate.
Interrogators: Interrogators:
@ -233,6 +255,8 @@ link:git-diff-helper.html[git-diff-helper]::
link:git-ssh-push.html[git-ssh-push]:: link:git-ssh-push.html[git-ssh-push]::
Helper "server-side" program used by git-ssh-pull Helper "server-side" program used by git-ssh-pull
link:git-send-email-script.html[git-send-email]::
Send patch e-mails out of "format-patch --mbox" output.
Identifier Terminology Identifier Terminology

2
refs.c
View file

@ -46,7 +46,7 @@ static int do_for_each_ref(const char *base, int (*fn)(const char *path, const u
if (namelen > 255) if (namelen > 255)
continue; continue;
memcpy(path + baselen, de->d_name, namelen+1); memcpy(path + baselen, de->d_name, namelen+1);
if (lstat(git_path("%s", path), &st) < 0) if (stat(git_path("%s", path), &st) < 0)
continue; continue;
if (S_ISDIR(st.st_mode)) { if (S_ISDIR(st.st_mode)) {
retval = do_for_each_ref(path, fn); retval = do_for_each_ref(path, fn);