- 09 3月, 2011 1 次提交
-
-
由 Nicolas Kaiser 提交于
'bytes' is of type size_t which is unsigned thus can't be negative. But the assigned write() returns ssize_t, and -1 on error. For testing < 0, 'bytes' needs to be of a signed type. Signed-off-by: NNicolas Kaiser <nikai@nikai.net> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 05 3月, 2011 10 次提交
-
-
由 Junio C Hamano 提交于
* maint: Documentation: fix a typo in git-apply.txt init: remove unnecessary check
-
由 Junio C Hamano 提交于
* mh/p4: git-p4 submit: prevent 'Jobs' section from being removed from p4 change log
-
由 Junio C Hamano 提交于
* mg/maint-difftool-vim-readonly: mergetool-lib: call vim in readonly mode for diffs
-
由 Junio C Hamano 提交于
* jn/maint-commit-missing-template: commit: error out for missing commit message template
-
由 Junio C Hamano 提交于
* jk/diffstat-binary: diff: don't retrieve binary blobs for diffstat diff: handle diffstat of rewritten binary files
-
由 Junio C Hamano 提交于
* lt/rename-no-extra-copy-detection: diffcore-rename: improve estimate_similarity() heuristics diffcore-rename: properly honor the difference between -M and -C for_each_hash: allow passing a 'void *data' pointer to callback
-
由 Junio C Hamano 提交于
* jn/test-terminal-punt-on-osx-breakage: tests: skip terminal output tests on OS X
-
由 Junio C Hamano 提交于
* jk/fail-null-clone: clone: die when trying to clone missing local path
-
由 Junio C Hamano 提交于
* jc/grep--no-index-pathspec-fix: grep --no-index: honor pathspecs correctly
-
由 Michał Kiedrowicz 提交于
git-apply accepts the --cached option, not --cache. Signed-off-by: NMichał Kiedrowicz <michal.kiedrowicz@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 04 3月, 2011 1 次提交
-
-
由 Nguyễn Thái Ngọc Duy 提交于
git_dir must always be non-NULL so "if (git_dir)" is unnecessary. Before this code, if git_dir == NULL, it will default to DEFAULT_GIT_DIR_ENVIRONMENT. Signed-off-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 03 3月, 2011 1 次提交
-
-
由 Junio C Hamano 提交于
* maint: verify-pack: add --stat-only to the synopsis section
-
- 02 3月, 2011 1 次提交
-
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 01 3月, 2011 3 次提交
-
-
git://repo.or.cz/git/jrn由 Junio C Hamano 提交于
* 'svn-fe' of git://repo.or.cz/git/jrn: (31 commits) fast-import: make code "-Wpointer-arith" clean vcs-svn: teach line_buffer about temporary files vcs-svn: allow input from file descriptor vcs-svn: allow character-oriented input vcs-svn: add binary-safe read function t0081 (line-buffer): add buffering tests vcs-svn: tweak test-line-buffer to not assume line-oriented input tests: give vcs-svn/line_buffer its own test script vcs-svn: make test-line-buffer input format more flexible vcs-svn: teach line_buffer to handle multiple input files vcs-svn: collect line_buffer data in a struct vcs-svn: replace buffer_read_string memory pool with a strbuf vcs-svn: eliminate global byte_buffer fast-import: add 'ls' command vcs-svn: Allow change nodes for root of tree (/) vcs-svn: Implement Prop-delta handling vcs-svn: Sharpen parsing of property lines vcs-svn: Split off function for handling of individual properties vcs-svn: Make source easier to read on small screens vcs-svn: More dump format sanity checks ...
-
由 Jonathan Nieder 提交于
The dereference() function to peel a tree-ish and find the underlying tree expects arithmetic to (void *) to work on byte addresses. We should be reading the text of objects through a char * anyway. Noticed-by: NJunio C Hamano <gitster@pobox.com> Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 28 2月, 2011 19 次提交
-
-
由 Junio C Hamano 提交于
* jh/push-default-upstream-configname: push.default: Rename 'tracking' to 'upstream'
-
由 Junio C Hamano 提交于
* lp/config-vername-check: Disallow empty section and variable names Sanity-check config variable names
-
由 Junio C Hamano 提交于
* mg/placeholders-are-lowercase: Make <identifier> lowercase in Documentation Make <identifier> lowercase as per CodingGuidelines Make <identifier> lowercase as per CodingGuidelines Make <identifier> lowercase as per CodingGuidelines CodingGuidelines: downcase placeholders in usage messages
-
由 Junio C Hamano 提交于
* mg/patch-id: git-patch-id: do not trip over "no newline" markers git-patch-id: test for "no newline" markers
-
由 Junio C Hamano 提交于
* mz/rerere-remaining: mergetool: don't skip modify/remove conflicts rerere "remaining"
-
由 Junio C Hamano 提交于
* nd/sorted-builtin-command-list: git.c: reorder builtin command list
-
由 Junio C Hamano 提交于
* js/maint-merge-use-prepare-commit-msg-hook: merge: honor prepare-commit-msg hook
-
由 Junio C Hamano 提交于
* nd/hash-object-sanity: Make hash-object more robust against malformed objects Conflicts: cache.h
-
由 Junio C Hamano 提交于
* js/detach-doc: git-checkout.txt: improve detached HEAD documentation
-
由 Junio C Hamano 提交于
* va/p4: git-p4: Add copy detection support git-p4: Improve rename detection support
-
由 Junio C Hamano 提交于
* pw/p4: git-p4: support clone --bare git-p4: decode p4 wildcard characters git-p4: better message for "git-p4 sync" when not cloned git-p4: reinterpret confusing p4 message git-p4: accommodate new move/delete type in p4 git-p4: add missing newline in initial import message git-p4: fix key error for p4 problem git-p4: test script
-
由 Junio C Hamano 提交于
* uk/checkout-ambiguous-ref: Rename t2019 with typo "amiguous" that meant "ambiguous" checkout: rearrange update_refs_for_switch for clarity checkout: introduce --detach synonym for "git checkout foo^{commit}" checkout: split off a function to peel away branchname arg checkout: fix bug with ambiguous refs Conflicts: builtin/checkout.c
-
由 Junio C Hamano 提交于
* sp/maint-smart-http-sans-100-continue: smart-http: Don't use Expect: 100-Continue
-
由 Junio C Hamano 提交于
* mo/perl-bidi-pipe-envfix: perl: command_bidi_pipe() method should set-up git environmens
-
由 Junio C Hamano 提交于
* hv/mingw-fs-funnies: mingw_rmdir: set errno=ENOTEMPTY when appropriate mingw: add fallback for rmdir in case directory is in use mingw: make failures to unlink or move raise a question mingw: work around irregular failures of unlink on windows mingw: move unlink wrapper to mingw.c
-
由 Junio C Hamano 提交于
* en/object-list-with-pathspec: Add testcases showing how pathspecs are handled with rev-list --objects Make rev-list --objects work together with pathspecs
-
由 Junio C Hamano 提交于
* nd/struct-pathspec: (22 commits) t6004: add pathspec globbing test for log family t7810: overlapping pathspecs and depth limit grep: drop pathspec_matches() in favor of tree_entry_interesting() grep: use writable strbuf from caller for grep_tree() grep: use match_pathspec_depth() for cache/worktree grepping grep: convert to use struct pathspec Convert ce_path_match() to use match_pathspec_depth() Convert ce_path_match() to use struct pathspec struct rev_info: convert prune_data to struct pathspec pathspec: add match_pathspec_depth() tree_entry_interesting(): optimize wildcard matching when base is matched tree_entry_interesting(): support wildcard matching tree_entry_interesting(): fix depth limit with overlapping pathspecs tree_entry_interesting(): support depth limit tree_entry_interesting(): refactor into separate smaller functions diff-tree: convert base+baselen to writable strbuf glossary: define pathspec Move tree_entry_interesting() to tree-walk.c and export it tree_entry_interesting(): remove dependency on struct diff_options Convert struct diff_options to use struct pathspec ...
-
由 Jakub Narebski 提交于
The most important issue is that after unsetting `i18n.commitencoding' config variable t9500 no longer will use author and comitter name containing ISO-8859-1 characters, which are invalid UTF-8 characters. Besides it is good practice in general to clean up the state in tests. Signed-off-by: NJakub Narebski <jnareb@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Michael J Gruber 提交于
Currently, it sounds as if "notice removal of files" distinguishes "-A" from "-u", and there is no mention of the worktree. But both notice the removal, and only "-A" adds changes from untracked files. Say so. Signed-off-by: NMichael J Gruber <git@drmicha.warpmail.net> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 27 2月, 2011 2 次提交
-
-
由 Junio C Hamano 提交于
* maint: branch_merged: fix grammar in warning
-
由 Eric Hanchrow 提交于
Signed-off-by: NEric Hanchrow <eric.hanchrow@gmail.com> Helped-by: NJay Soffian <jaysoffian@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 26 2月, 2011 2 次提交
-
-
git://github.com/gitster/git由 Jonathan Nieder 提交于
* git://github.com/gitster/git: vcs-svn: Allow change nodes for root of tree (/) vcs-svn: Implement Prop-delta handling vcs-svn: Sharpen parsing of property lines vcs-svn: Split off function for handling of individual properties vcs-svn: Make source easier to read on small screens vcs-svn: More dump format sanity checks vcs-svn: Reject path nodes without Node-action vcs-svn: Delay read of per-path properties vcs-svn: Combine repo_replace and repo_modify functions vcs-svn: Replace = Delete + Add vcs-svn: handle_node: Handle deletion case early vcs-svn: Use mark to indicate nodes with included text vcs-svn: Unclutter handle_node by introducing have_props var vcs-svn: Eliminate node_ctx.mark global vcs-svn: Eliminate node_ctx.srcRev global vcs-svn: Check for errors from open() vcs-svn: Allow simple v3 dumps (no deltas yet) Conflicts: t/t9010-svn-fe.sh vcs-svn/svndump.c
-
由 Jonathan Nieder 提交于
It can sometimes be useful to write information temporarily to file, to read back later. These functions allow a program to use the line_buffer facilities when doing so. It works like this: 1. find a unique filename with buffer_tmpfile_init. 2. rewind with buffer_tmpfile_rewind. This returns a stdio handle for writing. 3. when finished writing, declare so with buffer_tmpfile_prepare_to_read. The return value indicates how many bytes were written. 4. read whatever portion of the file is needed. 5. if finished, remove the temporary file with buffer_deinit. otherwise, go back to step 2, The svn support would use this to buffer the postimage from delta application until the length is known and fast-import can receive the resulting blob. Based-on-patch-by: NDavid Barr <david.barr@cordelta.com> Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
-