Package: git Version: 1:1.8.3.2-1 Severity: normal File: git-archive $ ls *.tar ls: cannot access *.tar: No such file or directory $ git archive -o foo.tar usage: git archive [options] <tree-ish> [<path>...] or: git archive --list or: git archive --remote <repo> [--exec <cmd>] [options] <tree-ish> [<path>...] or: git archive --remote <repo> [--exec <cmd>] --list
--format <fmt> archive format --prefix <prefix> prepend prefix to each pathname in the archive -o, --output <file> write the archive to this file --worktree-attributes read .gitattributes in working directory -v, --verbose report archived files on stderr -0 store only -1 compress faster -9 compress better -l, --list list supported archive formats --remote <repo> retrieve the archive from remote repository <repo> --exec <command> path to the remote git-upload-archive command $ git archive badref -o bar.tar fatal: Not a valid object name $ ls *.tar bar.tar foo.tar git archive should not create the output file in cases like these. - Josh Triplett -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii git-man 1:1.8.3.2-1 ii libc6 2.17-7 ii libcurl3-gnutls 7.31.0-2 ii liberror-perl 0.17-1 ii libexpat1 2.1.0-3 ii libpcre3 1:8.31-2 ii perl-modules 5.14.2-21 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages git recommends: ii less 458-2 ii openssh-client [ssh-client] 1:6.2p2-6 ii patch 2.7.1-3 ii rsync 3.0.9-4 Versions of packages git suggests: ii gettext-base 0.18.2.1-1 pn git-arch <none> pn git-bzr <none> pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> ii git-email 1:1.8.3.2-1 pn git-gui <none> ii git-svn 1:1.8.3.2-1 ii gitk 1:1.8.3.2-1 pn gitweb <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org