- 24 Sep, 2012 1 commit
-
-
René Scharfe authored
File modification times in ZIP files are encoded in DOS format: local time with a granularity of two seconds. Add an extra field to all archive entries to also record the mtime in Unix' fashion, as UTC with a granularity of one second. This has the desirable side-effect of convincing Info-ZIP unzip 6.00 to respect general purpose flag 11, which is used to indicate that a file name is encoded in UTF-8. Any extra field would do, actually, but the extended timestamp is a reasonably small one (22 bytes per entry). Archives created by Info-ZIP zip 3.0 contain it, too (but with ctime and atime as well). Signed-off-by:
Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 18 Sep, 2012 2 commits
-
-
René Scharfe authored
Set general purpose flag 11 if we encounter a path that contains non-ASCII characters. We assume that all paths are given as UTF-8; no conversion is done. Signed-off-by:
Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
This reverts commit 2162bd8c; a two-patch series to replace it will follow.
-
- 04 Sep, 2012 1 commit
-
-
René Scharfe authored
Set general purpose flag 11 if we encounter a path that contains non-ASCII characters. We assume that all paths are given as UTF-8; no conversion is done. The flag seems to be ignored by unzip unless we also mark the archive entry as coming from a Unix system. This is done by setting the field creator_version ("version made by" in the standard[1]) to 0x03NN. The NN part represents the version of the standard supported by us, and this patch sets it to 3f (for version 6.3) for Unix paths. We keep creator_version set to 0 (FAT filesystem, standard version 0) in the non-special cases, as before. But when we declare a file to have a Unix path, then we have to set the file mode as well, or unzip will extract the files with the permission set 0000, i.e. inaccessible by all. [1] http://www.pkware.com/documents/casestudies/APPNOTE.TXTSigned-off-by:
Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 24 Aug, 2012 12 commits
-
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
A minor documentation update. * mv/pull-r-for-rebase: man: git pull -r is a short for --rebase
-
Junio C Hamano authored
We did not document that many commands take unique prefix abbreviations of long options (e.g. "--option" may be the only flag that the command accepts that begin with "--opt", in which case you can give "--opt") anywhere easy to find for new people. * jc/maint-abbrev-option-cli: gitcli: describe abbreviation of long options
-
Junio C Hamano authored
It was unclear what "--topo-order" was really about in the documentation. It is not just about "children before parent", but also about "don't mix lineages". * jc/maint-rev-list-topo-doc: rev-list docs: clarify --topo-order description
-
Junio C Hamano authored
In earlier days, "imitate the style in the neibouring code" was sufficient to keep the coherent style, but over time some parts of the codebase have drifted enough to make it ineffective. * hv/coding-guidelines: Documentation/CodingGuidelines: spell out more shell guidelines
-
Junio C Hamano authored
Our documentation used to assume having files in .git/refs/* directories was the only to have branches and tags, but that is not true for quite some time. * jc/tag-doc: Documentation: do not mention .git/refs/* directories
-
Junio C Hamano authored
Add a compatibility/utility function to the test framework. * mk/test-seq: tests: Introduce test_seq
-
Junio C Hamano authored
* lp/no-cmd-http-fetch: builtin.h: remove unused cmd_<foo> declarations
-
Junio C Hamano authored
* bw/maint-1.7.9-solaris-getpass: Enable HAVE_DEV_TTY for Solaris terminal: seek when switching between reading and writing
-
Junio C Hamano authored
* jk/maint-commit-check-committer-early: commit: check committer identity more strictly
-
Eric S. Raymond authored
Signed-off-by:
Eric S. Raymond <esr@thyrsus.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Eric S. Raymond authored
Signed-off-by:
Eric S. Raymond <esr@thyrsus.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 22 Aug, 2012 1 commit
-
-
Eric S. Raymond authored
These changes remove all need to modify the ciabot scripts for installation. Instead, per-project configuration can be dome via variables in a [ciabot] section of the config file. Also, correct for the new server address. Signed-off-by:
Eric S. Raymond <esr@thyrsus.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 17 Aug, 2012 2 commits
-
-
Miklos Vajna authored
Letting the "--rebase" option squat on the short-and-sweet single letter option "-r" was an unintended accident and was not even documented, but the short option seems to be already used in the wild. Let's document it so that other options that begin with "r" would not be tempted to steal it. Signed-off-by:
Miklos Vajna <vmiklos@suse.cz> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 15 Aug, 2012 5 commits
-
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
* rj/maint-grep-remove-redundant-test: t7810-*.sh: Remove redundant test
-
Junio C Hamano authored
* hv/link-alt-odb-entry: link_alt_odb_entry: fix read over array bounds reported by valgrind
-
Junio C Hamano authored
It was unclear what "--topo-order" was really about in the documentation. It is not just about "children before parent", but also about "don't mix lineages". Reword the description for both "--date-order" and "--topo-order", and add an illustration to it. Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Heiko Voigt authored
In earlier days, "imitate the style in the neibouring code" was sufficient to keep the coherent style, but over time some parts of the codebase have drifted enough to make it ineffective. Spell some of the guidelines out. Signed-off-by:
Heiko Voigt <hvoigt@hvoigt.net> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 07 Aug, 2012 2 commits
-
-
Ben Walton authored
Now that git_terminal_prompt can cleanly interact with /dev/tty on Solaris, enable HAVE_DEV_TTY so that this code path is used for credential reading instead of relying on the crippled getpass(). Signed-off-by:
Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Jeff King authored
When a stdio stream is opened in update mode (e.g., "w+"), the C standard forbids switching between reading or writing without an intervening positioning function. Many implementations are lenient about this, but Solaris libc will flush the recently-read contents to the output buffer. In this instance, that meant writing the non-echoed password that the user just typed to the terminal. Fix it by inserting a no-op fseek between the read and write. The opposite direction (writing followed by reading) is also disallowed, but our intervening fflush is an acceptable positioning function for that alternative. Signed-off-by:
Jeff King <peff@peff.net> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 06 Aug, 2012 13 commits
-
-
Junio C Hamano authored
Hopefully that will be the final 1.7.11.x maintenance release. Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
* jn/block-sha1: Makefile: BLK_SHA1 does not require fast htonl() and unaligned loads block-sha1: put expanded macro parameters in parentheses block-sha1: avoid pointer conversion that violates alignment constraints
-
Junio C Hamano authored
* jn/make-assembly-in-right-directory: Makefile: fix location of listing produced by "make subdir/foo.s"
-
Junio C Hamano authored
* ms/daemon-doc-typo: Documentation/git-daemon: add missing word
-
Junio C Hamano authored
* lm/git-blame-el: git-blame.el: Do not use bare 0 to mean (point-min) git-blame.el: Use with-current-buffer where appropriate git-blame.el: Do not use goto-line in lisp code
-
Junio C Hamano authored
* rs/ipv6-ssh-url: git: Wrong parsing of ssh urls with IPv6 literals ignores port
-
Junio C Hamano authored
* rs/git-blame-mapcar-mapc: git-blame.el: use mapc instead of mapcar
-
Junio C Hamano authored
* rr/doc-commit: commit: document a couple of options
-
Štěpán Němec authored
- (glossary) the quotes around the Wikipedia URL prevented its linkification in frontends that support it; remove them - (manual) newer version (SHA-1) == following, older == preceding, not the other way around - trivial typo and wording fixes Signed-off-by:
Štěpán Němec <stepnem@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
* jk/maint-checkout-orphan-check-fix: checkout: don't confuse ref and object flags
-
Junio C Hamano authored
* mh/maint-revisions-doc: Enumerate revision range specifiers in the documentation Make <refname> documentation more consistent.
-
Junio C Hamano authored
* jc/mergetool-tool-help: mergetool: support --tool-help option like difftool does
-
Junio C Hamano authored
It is an implementation detail that a new tag is created by adding a file in the .git/refs/tags directory. The only thing the user needs to know is that a "git tag" creates a ref in the refs/tags namespace, and without "-f", it does not overwrite an existing tag. Inspired by a report from 乙酸鋰 <ch3cooli@gmail.com>; I think I caught all the existing mention in Documentation/ directory in the tip of 1.7.9.X maintenance track, but we may have added new ones since then. Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 04 Aug, 2012 1 commit
-
-
Michał Kiedrowicz authored
Jeff King wrote: The seq command is GNU-ism, and is missing at least in older BSD releases and their derivatives, not to mention antique commercial Unixes. We already purged it in b3431bc6 (Don't use seq in tests, not everyone has it, 2007-05-02), but a few new instances have crept in. They went unnoticed because they are in scripts that are not run by default. Replace them with test_seq that is implemented with a Perl snippet (proposed by Jeff). This is better than inlining this snippet everywhere it's needed because it's easier to read and it's easier to change the implementation (e.g. to C) if we ever decide to remove Perl from the test suite. Note that test_seq is not a complete replacement for seq(1). It just has what we need now, in addition that it makes it possible for us to do something like "test_seq a m" if we wanted to in the future. There are also many places that do `for i in 1 2 3 ...` but I'm not sure if it's worth converting them to test_seq. That would introduce running more processes of Perl. Signed-off-by:
Michał Kiedrowicz <michal.kiedrowicz@gmail.com> Acked-by:
Jeff King <peff@peff.net> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-