Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-29fsck: --no-dangling omits "dangling object" informationJunio C Hamano
The default output from "fsck" is often overwhelmed by informational message on dangling objects, especially if you do not repack often, and a real error can easily be buried. Add "--no-dangling" option to omit them, and update the user manual to demonstrate its use. Based on a patch by Clemens Buchacher, but reverted the part to change the default to --no-dangling, which is unsuitable for the first patch. The usual three-step procedure to break the backward compatibility over time needs to happen on top of this, if we were to go in that direction. Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-24Update draft release notes to 1.7.10Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-24Merge branch 'ld/git-p4-expanded-keywords'Junio C Hamano
* ld/git-p4-expanded-keywords: : Teach git-p4 to unexpand $RCS$-like keywords that are embedded in : tracked contents in order to reduce unnecessary merge conflicts. git-p4: add initial support for RCS keywords
2012-02-24Merge branch 'jk/config-include'Junio C Hamano
* jk/config-include: : An assignment to the include.path pseudo-variable causes the named file : to be included in-place when Git looks up configuration variables. config: add include directive config: eliminate config_exclusive_filename config: stop using config_exclusive_filename config: provide a version of git_config with more options config: teach git_config_rename_section a file argument config: teach git_config_set_multivar_in_file a default path config: copy the return value of prefix_filename t1300: add missing &&-chaining docs/api-config: minor clarifications docs: add a basic description of the config API
2012-02-24Merge branch 'jc/add-refresh-unmerged'Junio C Hamano
* jc/add-refresh-unmerged: refresh_index: do not show unmerged path that is outside pathspec
2012-02-24Merge branch 'js/configure-libintl'Junio C Hamano
* js/configure-libintl: configure: don't use -lintl when there is no gettext support
2012-02-24Merge branch 'pj/remote-set-branches-usage-fix'Junio C Hamano
* pj/remote-set-branches-usage-fix: remote: fix set-branches usage and documentation Conflicts: builtin/remote.c
2012-02-24Merge branch 'tr/perftest'Junio C Hamano
* tr/perftest: Add a performance test for git-grep Introduce a performance testing framework Move the user-facing test library to test-lib-functions.sh
2012-02-24Merge branch 'maint'Junio C Hamano
* maint: README: point to Documentation/SubmittingPatches Document merge.branchdesc configuration variable
2012-02-24git-p4: add initial support for RCS keywordsLuke Diamand
RCS keywords cause problems for git-p4 as perforce always expands them (if +k is set) and so when applying the patch, git reports that the files have been modified by both sides, when in fact they haven't. This change means that when git-p4 detects a problem applying a patch, it will check to see if keyword expansion could be the culprit. If it is, it strips the keywords in the p4 repository so that they match what git is expecting. It then has another go at applying the patch. This behaviour is enabled with a new git-p4 configuration option and is off by default. Acked-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-24merge: do not trust fstat(2) too much when checking interactivenessJunio C Hamano
The heuristic used by "git merge" to decide if it automatically gives an editor upon clean automerge is to see if the standard input and the standard output is the same device and is a tty, we are in an interactive session. "The same device" test was done by comparing fstat(2) result on the two file descriptors (and they must match), and we asked isatty() only for the standard input (we insist that they are the same device and there is no point asking tty-ness of the standard output). The stat(2) emulation in the Windows port however does not give a usable value in the st_ino field, so even if the standard output is connected to something different from the standard input, "The same device" test may incorrectly return true. To accomodate it, add another isatty() check for the standard output stream as well. Reported-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-23README: point to Documentation/SubmittingPatchesMatthieu Moy
It was indeed not obvious for new contributors to find this document in the source tree, since there were no reference to it outside the Documentation/ directory. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-23Document merge.branchdesc configuration variableJunio C Hamano
This was part of the "branch description" feature in the larger "help people communicate better during their pull based workflow" topic, but was never documented. Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-23Sync with 1.7.9.2Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-23Git 1.7.9.2v1.7.9.2Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-23completion: use tabs for indentationPhilip Jägenstedt
CodingGuidlines confidently declares "We use tabs for indentation." It would be a shame if it were caught lying. Signed-off-by: Philip Jägenstedt <philip@foolip.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-23completion: remove stale "to submit patches" documentationPhilip Jägenstedt
It was out-of-sync with the reality of who works on this script. Defer (silently) to Documentation/SubmittingPatches like all other code. Signed-off-by: Philip Jägenstedt <philip@foolip.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-22git-p4: the option to specify 'host' is -H, not -hRussell Myers
This was broken since the feature was introduced initially at abcaf07 (If the user has configured various parameters, use them., 2008-08-10). Acked-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-22t9100: remove bogus " || test" after each test scriptletJunio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-22Merge branch 'master' of git://bogomips.org/git-svnJunio C Hamano
* 'master' of git://bogomips.org/git-svn: git-svn.perl: fix a false-positive in the "already exists" test git-svn.perl: perform deletions before anything else git-svn: Fix time zone in --localtime git-svn: un-break "git svn rebase" when log.abbrevCommit=true git-svn: remove redundant porcelain option to rev-list completion: add --interactive option to git svn dcommit
2012-02-22Update draft release notes to 1.7.10Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-22Merge branch 'jn/gitweb-unborn-head'Junio C Hamano
* jn/gitweb-unborn-head: gitweb: Fix "heads" view when there is no current branch
2012-02-22Merge branch 'jk/diff-highlight'Junio C Hamano
* jk/diff-highlight: diff-highlight: document some non-optimal cases diff-highlight: match multi-line hunks diff-highlight: refactor to prepare for multi-line hunks diff-highlight: don't highlight whole lines diff-highlight: make perl strict and warnings fatal
2012-02-22Merge branch 'maint'Junio C Hamano
* maint: Update draft release notes to 1.7.9.2 completion: Allow dash as the first character for __git_ps1
2012-02-22Update draft release notes to 1.7.9.2Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-22Merge branch 'cb/receive-pack-keep-errors' into maintJunio C Hamano
* cb/receive-pack-keep-errors: do not override receive-pack errors
2012-02-22Merge branch 'cb/transfer-no-progress' into maintJunio C Hamano
* cb/transfer-no-progress: push/fetch/clone --no-progress suppresses progress output
2012-02-22Merge branch 'jk/git-dir-lookup' into maintJunio C Hamano
* jk/git-dir-lookup: standardize and improve lookup rules for external local repos
2012-02-22Merge branch 'jc/diff-stat-scaler' into maintJunio C Hamano
* jc/diff-stat-scaler: diff --stat: show bars of same length for paths with same amount of changes
2012-02-22Merge branch 'zj/term-columns' into maintJunio C Hamano
* zj/term-columns: pager: find out the terminal width before spawning the pager
2012-02-22Merge branch 'cb/maint-rev-list-verify-object' into maintJunio C Hamano
* cb/maint-rev-list-verify-object: git rev-list: fix invalid typecast
2012-02-22Merge branch 'cb/maint-t5541-make-server-port-portable' into maintJunio C Hamano
* cb/maint-t5541-make-server-port-portable: t5541: check error message against the real port number used
2012-02-22Merge branch 'dp/i18n-libcharset' into maintJunio C Hamano
* dp/i18n-libcharset: Makefile: introduce CHARSET_LIB to link with -lcharset
2012-02-22Merge branch 'jk/grep-binary-attribute' into maintJunio C Hamano
* jk/grep-binary-attribute: grep: pre-load userdiff drivers when threaded grep: load file data after checking binary-ness grep: respect diff attributes for binary-ness grep: cache userdiff_driver in grep_source grep: drop grep_buffer's "name" parameter convert git-grep to use grep_source interface grep: refactor the concept of "grep source" into an object grep: move sha1-reading mutex into low-level code grep: make locking flag global
2012-02-22Merge branch 'nd/diffstat-gramnum' into maintJunio C Hamano
* nd/diffstat-gramnum: Use correct grammar in diffstat summary line
2012-02-22Merge branch 'nd/find-pack-entry-recent-cache-invalidation' into maintJunio C Hamano
* nd/find-pack-entry-recent-cache-invalidation: find_pack_entry(): do not keep packed_git pointer locally sha1_file.c: move the core logic of find_pack_entry() into fill_pack_entry()
2012-02-22Merge branch 'tt/profile-build-fix' into maintJunio C Hamano
* tt/profile-build-fix: Makefile: fix syntax for older make Fix build problems related to profile-directed optimization
2012-02-22Merge branch 'fc/zsh-completion' into maintJunio C Hamano
* fc/zsh-completion: completion: simplify __gitcomp and __gitcomp_nl implementations completion: use ls -1 instead of rolling a loop to do that ourselves completion: work around zsh option propagation bug
2012-02-22git-svn.perl: fix a false-positive in the "already exists" testSteven Walter
open_or_add_dir checks to see if the directory already exists or not. If it already exists and is not a directory, then we fail. However, open_or_add_dir did not previously account for the possibility that the path did exist as a file, but is deleted in the current commit. In order to prevent this legitimate case from failing, open_or_add_dir needs to know what files are deleted in the current commit. Unfortunately that information has to be plumbed through a couple of layers. Signed-off-by: Steven Walter <stevenrwalter@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
2012-02-22git-svn.perl: perform deletions before anything elseSteven Walter
If we delete a file and recreate it as a directory in a single commit, we have to tell the server about the deletion first or else we'll get "RA layer request failed: Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request" Signed-off-by: Steven Walter <stevenrwalter@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
2012-02-22git-svn: Fix time zone in --localtimeWei-Yin Chen (陳威尹)
Use numerical form of time zone to replace alphabetic time zone abbreviation generated by "%Z". "%Z" is not portable and contain ambiguity for many areas. For example, CST could be "Central Standard Time" (GMT-0600) and "China Standard Time" (GMT+0800). Alphabetic time zone abbreviation is meant for human readability, not for specifying a time zone for machines. Failed case can be illustrated like this in linux shell: > echo $TZ Asia/Taipei > date +%Z CST > env TZ=`date +%Z` date Mon Dec 19 06:03:04 CST 2011 > date Mon Dec 19 14:03:04 CST 2011 [ew: fixed bad package reference inside Git::SVN::Log] Signed-off-by: Wei-Yin Chen (陳威尹) <chen.weiyin@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
2012-02-22git-svn: un-break "git svn rebase" when log.abbrevCommit=trueÆvar Arnfjörð Bjarmason
Change git-svn to use git-rev-list(1) instead of git-log(1) since the latter is porcelain that'll cause "git svn rebase" to fail completely if log.abbrevCommit is set to true in the configuration. Without this patch the code will fail to parse a SHA1, and then just spew a bunch of "Use of uninitialized value $hash in string eq" warnings at "if ($c && $c eq $hash) { ..." and never do anything useful. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Helped-by: Jonathan Nieder <jrnieder@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
2012-02-22git-svn: remove redundant porcelain option to rev-listÆvar Arnfjörð Bjarmason
Change an invocation of git-rev-list(1) to not use --no-color, git-rev-list(1) will always ignore that option and the --color option, so there's no need to pass it. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
2012-02-22completion: add --interactive option to git svn dcommitFrederic Heitzmann
see afd7f1e for more details on git svn dcommit --interactive Signed-off-by: Frederic Heitzmann <frederic.heitzmann@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
2012-02-22completion: Allow dash as the first character for __git_ps1Christian Hammerl
If the argument for `__git_ps1` begins with a dash, `printf` tries to interpret it as an option which results in an error message. The problem is solved by adding '--' before the argument to tell `printf` to not interpret the following argument as an option. Adding '--' directly to the argument does not help because the argument is enclosed by double quotes. Signed-off-by: Christian Hammerl <info@christian-hammerl.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-20Update draft release notes to 1.7.10Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-20Merge branch 'tg/tag-points-at'Junio C Hamano
* tg/tag-points-at: builtin/tag.c: Fix a sparse warning tag: add --points-at list option
2012-02-20Merge branch 'jc/diff-stat-scaler'Junio C Hamano
* jc/diff-stat-scaler: diff --stat: show bars of same length for paths with same amount of changes
2012-02-20Merge branch 'zj/decimal-width'Junio C Hamano
* zj/decimal-width: make lineno_width() from blame reusable for others Conflicts: cache.h pager.c
2012-02-20Merge branch 'zj/term-columns'Junio C Hamano
* zj/term-columns: pager: find out the terminal width before spawning the pager