1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-16 06:03:44 +01:00
Find a file
Johannes Schindelin fa257b0554 git-bundle: assorted fixes
This patch fixes issues mentioned by Junio, Nico and Simon:

- I forgot to convert the usage string when removing the "--" from
  the subcommands,
- a style fix in the bundle_header,
- use xread() instead of read(),
- use write_or_die() instead of write(),
- make the bundle header extensible,
- fail if the whitespace after a sha1 of a reference is missing,
- close() the fds passed to a subprocess,
- in verify_bundle(), do not use "rev-list --stdin", but rather
  pass the revs directly (avoiding a fork()),
- fix a corrupted comment in show_object(), and
- fix the size check in index_pack.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-02-22 22:30:33 -08:00
arm
compat
contrib blameview: Move the commit info to a pane below the blame window. 2007-02-12 19:20:08 -08:00
Documentation Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
git-gui Merge branch 'master' of git://repo.or.cz/git-gui 2007-02-13 13:48:52 -08:00
gitweb gitweb: fix mismatched parenthesis 2007-02-06 01:09:32 -08:00
mozilla-sha1
perl Assorted typo fixes 2007-02-03 21:49:54 -08:00
ppc Assorted typo fixes 2007-02-03 21:49:54 -08:00
t Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
templates Fix potential command line overflow in hooks--update 2007-02-13 09:33:09 -08:00
xdiff
.gitignore Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
.mailmap .mailmap: fix screw-ups in Uwe's name 2007-01-22 16:25:15 -08:00
alloc.c
archive-tar.c
archive-zip.c
archive.h
base85.c
blob.c
blob.h
builtin-add.c
builtin-annotate.c annotate: fix for cvsserver. 2007-02-06 01:52:04 -08:00
builtin-apply.c apply --cached: fix crash in subdirectory 2007-01-20 19:05:20 -08:00
builtin-archive.c Make sure git_connect() always give two file descriptors. 2007-01-21 21:51:01 -08:00
builtin-blame.c annotate: fix for cvsserver. 2007-02-06 01:52:04 -08:00
builtin-branch.c Merge branch 'master' into np/dreflog 2007-02-03 23:05:34 -08:00
builtin-bundle.c git-bundle: assorted fixes 2007-02-22 22:30:33 -08:00
builtin-cat-file.c
builtin-check-ref-format.c
builtin-checkout-index.c
builtin-commit-tree.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
builtin-config.c [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
builtin-count-objects.c
builtin-describe.c Compute accurate distances in git-describe before output. 2007-01-28 02:08:51 -08:00
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-stages.c
builtin-diff-tree.c
builtin-diff.c
builtin-fmt-merge-msg.c
builtin-for-each-ref.c Assorted typo fixes 2007-02-03 21:49:54 -08:00
builtin-fsck.c Merge branch 'master' into np/dreflog 2007-02-03 23:05:34 -08:00
builtin-grep.c
builtin-init-db.c add logref support to git-symbolic-ref 2007-01-28 02:16:46 -08:00
builtin-log.c git reflog show 2007-02-08 15:35:24 -08:00
builtin-ls-files.c Commands requiring a work tree must not run in GIT_DIR 2007-02-05 14:02:16 -08:00
builtin-ls-tree.c
builtin-mailinfo.c
builtin-mailsplit.c
builtin-merge-file.c
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c
builtin-pack-refs.c Fix seriously broken "git pack-refs" 2007-01-25 19:16:07 -08:00
builtin-prune-packed.c prune-packed: add -q to usage 2007-01-18 14:30:05 -08:00
builtin-prune.c Revert "prune: --grace=time" 2007-01-21 21:29:57 -08:00
builtin-push.c git-push: allow globbing wildcard refspec. 2007-02-06 00:46:56 -08:00
builtin-read-tree.c
builtin-reflog.c git reflog show 2007-02-08 15:35:24 -08:00
builtin-rerere.c
builtin-rev-list.c
builtin-rev-parse.c Commands requiring a work tree must not run in GIT_DIR 2007-02-05 14:02:16 -08:00
builtin-rm.c
builtin-runstatus.c
builtin-shortlog.c
builtin-show-branch.c show-branch -g: default to the current branch. 2007-02-03 23:34:22 -08:00
builtin-show-ref.c
builtin-stripspace.c
builtin-symbolic-ref.c add logref support to git-symbolic-ref 2007-01-28 02:16:46 -08:00
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c Fix git-update-index to work with relative pathnames. 2007-01-31 13:14:32 -08:00
builtin-update-ref.c lock_any_ref_for_update(): do not accept malformatted refs. 2007-01-29 00:57:07 -08:00
builtin-upload-archive.c
builtin-verify-pack.c
builtin-write-tree.c
builtin.h Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
cache-tree.c
cache-tree.h
cache.h log --reflog: use dwim_log 2007-02-08 17:48:22 -08:00
check-builtins.sh
check-racy.c
color.c
color.h
combine-diff.c combine-diff: special case --unified=0 2007-02-03 16:31:11 -08:00
commit.c Disallow invalid --pretty= abbreviations 2007-02-02 21:18:59 -08:00
commit.h is_repository_shallow(): prototype fix. 2007-01-21 22:22:23 -08:00
config.c git-config --rename-section could rename wrong section 2007-02-03 21:35:22 -08:00
config.mak.in
configure.ac
connect.c Make sure git_connect() always give two file descriptors. 2007-01-21 21:51:01 -08:00
convert-objects.c
copy.c
COPYING
csum-file.c
csum-file.h
ctype.c
daemon.c Assorted typo fixes 2007-02-03 21:49:54 -08:00
date.c show_date(): fix relative dates 2007-01-20 18:57:47 -08:00
delta.h
diff-delta.c
diff-lib.c git-blame: no rev means start from the working tree file. 2007-02-05 14:55:11 -08:00
diff.c Mark places that need blob munging later for CRLF conversion. 2007-02-13 10:12:37 -08:00
diff.h git-blame: no rev means start from the working tree file. 2007-02-05 14:55:11 -08:00
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c diffcore-pickaxe: fix infinite loop on zero-length needle 2007-01-25 21:17:19 -08:00
diffcore-rename.c
diffcore.h
dir.c
dir.h
dump-cache-tree.c
entry.c Mark places that need blob munging later for CRLF conversion. 2007-02-13 10:12:37 -08:00
environment.c
exec_cmd.c
exec_cmd.h
fast-import.c fast-import: Support reusing 'from' and brown paper bag fix reset. 2007-02-12 12:17:31 -05:00
fetch-pack.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
fetch.c
fetch.h
generate-cmdlist.sh
git-add--interactive.perl git-add -i: update removed path correctly. 2007-02-07 10:56:38 -08:00
git-am.sh Teach git-am to pass -p option down to git-apply 2007-02-11 22:05:36 -08:00
git-applymbox.sh
git-applypatch.sh
git-archimport.perl git-archimport: initial import needs empty directory 2007-02-04 17:05:16 -08:00
git-bisect.sh add replay and log to the usage string of git-bisect 2007-02-06 13:58:03 -08:00
git-checkout.sh Let git-checkout always drop any detached head 2007-02-03 23:06:27 -08:00
git-clean.sh
git-clone.sh git-clone --reference: work well with pack-ref'ed reference repository 2007-02-07 02:10:56 -08:00
git-commit.sh honor GIT_REFLOG_ACTION in git-commit 2007-02-03 15:17:49 -08:00
git-compat-util.h Use inttypes.h rather than stdint.h. 2007-01-26 00:03:23 -08:00
git-cvsexportcommit.perl Allow forcing of a parent commit, even if the parent is not a direct one. 2007-02-05 14:10:01 -08:00
git-cvsimport.perl Read cvsimport options from repo-config 2007-02-07 23:54:25 -08:00
git-cvsserver.perl [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
git-fetch.sh Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
git-gc.sh git-gc: run pack-refs by default unless the repo is bare 2007-02-13 09:19:34 -08:00
git-instaweb.sh [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
git-lost-found.sh git-fsck-objects is now synonym to git-fsck 2007-01-28 16:33:58 -08:00
git-ls-remote.sh Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-ours.sh
git-merge-resolve.sh Assorted typo fixes 2007-02-03 21:49:54 -08:00
git-merge-stupid.sh
git-merge.sh [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
git-p4import.py [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
git-parse-remote.sh Revert "Allow branch.*.merge to talk about remote tracking branches." 2007-02-04 16:58:30 -08:00
git-pull.sh
git-quiltimport.sh Assorted typo fixes 2007-02-03 21:49:54 -08:00
git-rebase.sh add -C[NUM] to git-am 2007-02-08 15:23:52 -08:00
git-relink.perl
git-remote.perl Teach git-remote add to fetch and track 2007-02-05 15:41:59 -08:00
git-repack.sh [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
git-request-pull.sh
git-reset.sh Shell syntax fix in git-reset 2007-01-18 14:22:24 -08:00
git-resolve.sh
git-revert.sh honor GIT_REFLOG_ACTION in git-commit 2007-02-03 15:17:49 -08:00
git-send-email.perl git-send-email: remove debugging output. 2007-01-30 02:30:25 -08:00
git-sh-setup.sh Commands requiring a work tree must not run in GIT_DIR 2007-02-05 14:02:16 -08:00
git-svn.perl git-svn: correctly handle boolean options via git-config 2007-02-10 22:48:18 -08:00
git-svnimport.perl
git-tag.sh Fix git-tag -u 2007-01-30 21:03:11 -08:00
git-verify-tag.sh
GIT-VERSION-GEN GIT 1.5.0 2007-02-14 00:00:00 +00:00
git.c Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
git.spec.in Update RPM core package description 2007-02-13 10:12:37 -08:00
gitk Make gitk save and restore window pane position on Linux and Cygwin. 2007-02-12 16:40:25 -08:00
grep.c
grep.h
hash-object.c
help.c Avoid ugly linewrap in git help 2007-02-11 12:42:01 -08:00
http-fetch.c git-fsck-objects is now synonym to git-fsck 2007-01-28 16:33:58 -08:00
http-push.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
http.c
http.h
ident.c Rename get_ident() to fmt_ident() and make it available to outside 2007-02-04 17:50:14 -08:00
imap-send.c
index-pack.c git-bundle: assorted fixes 2007-02-22 22:30:33 -08:00
INSTALL
interpolate.c
interpolate.h
list-objects.c
list-objects.h
local-fetch.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
lockfile.c
log-tree.c format-patch -n: make sorting easier by padding number 2007-02-08 17:47:38 -08:00
log-tree.h
Makefile Add git-bundle: move objects and references by archive 2007-02-22 22:30:33 -08:00
merge-base.c
merge-file.c
merge-index.c
merge-recursive.c Use pretend_sha1_file() in git-blame and git-merge-recursive. 2007-02-05 14:55:11 -08:00
merge-tree.c
mktag.c
mktree.c
object-refs.c
object.c
object.h
pack-check.c
pack-redundant.c
pack.h Refactor the pack header reading function out of receive-pack.c 2007-01-24 18:08:02 -08:00
pager.c pager: Work around window resizing bug in 'less' 2007-02-05 15:42:36 -08:00
patch-delta.c
patch-id.c
path-list.c
path-list.h
path.c
peek-remote.c rename --exec to --upload-pack for fetch-pack and peek-remote 2007-01-24 16:12:15 -08:00
pkt-line.c
pkt-line.h
quote.c Teach for-each-ref about a little language called Tcl. 2007-01-28 13:00:26 -08:00
quote.h Teach for-each-ref about a little language called Tcl. 2007-01-28 13:00:26 -08:00
reachable.c scan reflogs independently from refs 2007-02-03 11:57:18 -08:00
reachable.h
read-cache.c
README
receive-pack.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
reflog-walk.c log --reflog: use dwim_log 2007-02-08 17:48:22 -08:00
reflog-walk.h log --reflog: honour --relative-date 2007-02-08 16:20:52 -08:00
refs.c for-each-reflog: not having $GIT_DIR/logs directory is not an error. 2007-02-12 23:22:07 -08:00
refs.h scan reflogs independently from refs 2007-02-03 11:57:18 -08:00
RelNotes Add release notes to the distribution. 2007-02-13 15:15:05 -08:00
revision.c Do not forget to pack objects reachable from HEAD reflog. 2007-02-12 23:06:54 -08:00
revision.h Teach the revision walker to walk by reflogs with --walk-reflogs 2007-01-20 21:32:31 -08:00
rsh.c
rsh.h
run-command.c
run-command.h
send-pack.c Add a missing fork() error check. 2007-01-30 02:30:25 -08:00
server-info.c Don't coredump on bad refs in update-server-info. 2007-01-31 13:09:58 -08:00
setup.c Do not verify filenames in a bare repository 2007-01-20 19:10:26 -08:00
sha1_file.c Mark places that need blob munging later for CRLF conversion. 2007-02-13 10:12:37 -08:00
sha1_name.c reflog: handle $name => remotes/%s/HEAD mapping consistently for logs 2007-02-08 23:24:51 -08:00
shallow.c is_repository_shallow(): prototype fix. 2007-01-21 22:22:23 -08:00
shell.c
show-index.c
sideband.c
sideband.h
ssh-fetch.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
ssh-pull.c
ssh-push.c
ssh-upload.c
strbuf.c
strbuf.h
tag.c
tag.h
tar.h
test-date.c
test-delta.c
test-sha1.c
test-sha1.sh
trace.c
tree-diff.c
tree-walk.c
tree-walk.h
tree.c
tree.h
unpack-file.c
unpack-trees.c
unpack-trees.h
update-server-info.c
upload-pack.c shallow repository: disable unsupported operations for now. 2007-01-21 22:23:58 -08:00
usage.c
utf8.c
utf8.h
var.c Don't force everybody to call setup_ident(). 2007-01-28 01:58:50 -08:00
write_or_die.c write_in_full: size_t is unsigned. 2007-01-26 17:39:03 -08:00
wt-status.c wt_status_prepare(): clean up structure initialization. 2007-02-09 16:26:02 -08:00
wt-status.h
xdiff-interface.c
xdiff-interface.h

////////////////////////////////////////////////////////////////

	GIT - the stupid content tracker

////////////////////////////////////////////////////////////////

"git" can mean anything, depending on your mood.

 - random three-letter combination that is pronounceable, and not
   actually used by any common UNIX command.  The fact that it is a
   mispronunciation of "get" may or may not be relevant.
 - stupid. contemptible and despicable. simple. Take your pick from the
   dictionary of slang.
 - "global information tracker": you're in a good mood, and it actually
   works for you. Angels sing, and a light suddenly fills the room.
 - "goddamn idiotic truckload of sh*t": when it breaks

Git is a fast, scalable, distributed revision control system with an
unusually rich command set that provides both high-level operations
and full access to internals.

Git is an Open Source project covered by the GNU General Public License.
It was originally written by Linus Torvalds with help of a group of
hackers around the net. It is currently maintained by Junio C Hamano.

Please read the file INSTALL for installation instructions.
See Documentation/tutorial.txt to get started, then see
Documentation/everyday.txt for a useful minimum set of commands,
and "man git-commandname" for documentation of each command.
CVS users may also want to read Documentation/cvs-migration.txt.

Many Git online resources are accessible from http://git.or.cz/
including full documentation and Git related tools.

The user discussion and development of Git take place on the Git
mailing list -- everyone is welcome to post bug reports, feature
requests, comments and patches to git@vger.kernel.org. To subscribe
to the list, send an email with just "subscribe git" in the body to
majordomo@vger.kernel.org. The mailing list archives are available at
http://marc.theaimsgroup.com/?l=git and other archival sites.