Commit Graph

29964 Commits

Author SHA1 Message Date
Junio C Hamano
c8f5b2e53d Merge branch 'jc/daemon-access-hook' into next
Allow an external command to tell git-daemon to decline service
based on the client address, repository path, etc.

* jc/daemon-access-hook:
  daemon: --access-hook option
2012-08-20 12:44:00 -07:00
Junio C Hamano
cbe6483f1a Merge branch 'hv/submodule-path-unmatch' into next
"git submodule <cmd> paht" did not diagnose the typo in path and
silently ignored it; now it errors out the whole command.

* hv/submodule-path-unmatch:
  Let submodule command exit with error status if path does not exist
2012-08-20 12:43:07 -07:00
Junio C Hamano
dffdef61c5 Merge branch 'jc/send-email-reconfirm' into next
Validate interactive input to "git send-email" to avoid common
mistakes such as saying "y<RETURN>" to sender mail address whose
prompt is given with a correctly guessed default.

* jc/send-email-reconfirm:
  send-email: validate & reconfirm interactive responses
2012-08-20 12:43:02 -07:00
Junio C Hamano
1976e478d1 Merge branch 'jc/capabilities' into next
Some capabilities were asked by fetch-pack even when upload-pack did
not advertise that they are available.  Fix fetch-pack not to do so.

* jc/capabilities:
  fetch-pack: mention server version with verbose output
  parse_feature_request: make it easier to see feature values
  fetch-pack: do not ask for unadvertised capabilities
2012-08-20 12:42:58 -07:00
Junio C Hamano
f671bd2c5d Merge branch 'mg/rebase-i-onto-reflog-in-full' into next
The reflog entries left by "git rebase" and "git rebase -i" were
inconsistent.

* mg/rebase-i-onto-reflog-in-full:
  rebase -i: use full onto sha1 in reflog
2012-08-20 12:42:52 -07:00
Junio C Hamano
53e2419436 Merge branch 'mz/empty-rebase-test' into next
* mz/empty-rebase-test:
  add tests for 'git rebase --keep-empty'
2012-08-20 12:42:48 -07:00
Junio C Hamano
8b0056271e Merge branch 'jc/maint-protect-sh-from-ifs' into next
When the user exports a non-default IFS without HT, scripts that
rely on being able to parse "ls-files -s | while read a b c..."
start to fail.  Protect them from such a misconfiguration.

* jc/maint-protect-sh-from-ifs:
  sh-setup: protect from exported IFS
2012-08-20 12:42:41 -07:00
Junio C Hamano
1bc9e66d2b Merge branch 'bc/prune-info' into next
Teach "git prune" without "-v" to be silent about leftover temporary files.

* bc/prune-info:
  prune.c: only print informational message in show_only or verbose mode
2012-08-20 12:42:37 -07:00
Junio C Hamano
bfb0457778 Merge branch 'mz/cherry-code-cleanup' into next
Minor code clean-up on the cherry-pick codepath.

* mz/cherry-code-cleanup:
  cherry: remove redundant check for merge commit
  cherry: don't set ignored rev_info options
  remove unnecessary parameter from get_patch_ids()
2012-08-20 12:42:33 -07:00
Junio C Hamano
6d207bb015 Merge branch 'jk/version-string' into next
Leftover bits from the "git version" code restructuring, that give
us an ability to expose the Git version over the wire in the
protocol exchange. But we do so carefully only to the other end that
understands it.

* jk/version-string:
  do not send client agent unless server does first
  send-pack: fix capability-sending logic
  include agent identifier in capability string
2012-08-20 12:42:27 -07:00
Junio C Hamano
0dc0590a9e Merge branch 'cw/cherry-pick-allow-empty-message' into next
"git cherry-pick" by default stops when it sees a commit without any
log message.  The "--allow-empty-message" option can be used to
silently proceed.

* cw/cherry-pick-allow-empty-message:
  cherry-pick: add --allow-empty-message option
2012-08-20 12:42:23 -07:00
Junio C Hamano
0d76cf2e5c Merge branch 'jc/maint-sane-execvp-notdir' into next
"git foo" errored out with "Not a directory" when the user had a non
directory on $PATH, and worse yet it masked an alias "foo" to run.

* jc/maint-sane-execvp-notdir:
  sane_execvp(): ignore non-directory on $PATH
2012-08-20 12:42:14 -07:00
Junio C Hamano
e18ddd8299 Merge branch 'jc/maint-config-exit-status' into next
The exit status code from "git config" was way overspecified while
being incorrect.  Update the implementation to give the documented
status for a case that was documented, and introduce a new code for
"all other errors".

* jc/maint-config-exit-status:
  config: "git config baa" should exit with status 1
2012-08-20 12:42:05 -07:00
Junio C Hamano
0ed30dce91 Merge branch 'jk/docs-docbook-monospace-display' into next
The documentation in the TeXinfo format was using indented output
for materials meant to be examples that are better typeset in
monospace.

* jk/docs-docbook-monospace-display:
  docs: monospace listings in docbook output
2012-08-20 12:42:01 -07:00
Junio C Hamano
2fecd90607 Merge branch 'da/difftool-updates' into next
"git difftool --dir-diff" learned to use symbolic links to prepare
temporary copy of the working tree when available.

* da/difftool-updates:
  Add Code Compare v2.80.4 as a merge / diff tool for Windows
  mergetool,difftool: Document --tool-help consistently
  difftool: Disable --symlinks on cygwin
  difftool: Handle compare() returning -1
  difftool: Wrap long lines for readability
  difftool: Check all return codes from compare()
  difftool: Handle finding mergetools/ in a path with spaces
  difftool: Use symlinks when diffing against the worktree
  difftool: Call the temp directory "git-difftool"
  difftool: Move option values into a hash
  difftool: Eliminate global variables
  difftool: Simplify print_tool_help()
2012-08-20 12:41:57 -07:00
Junio C Hamano
39a04313eb Merge branch 'js/grep-patterntype-config' into next
"grep" learned to use a non-standard pattern type by default if a
configuration variable tells it to.

* js/grep-patterntype-config:
  grep: add a grep.patternType configuration setting
2012-08-20 12:41:53 -07:00
Junio C Hamano
b1b0d18f72 Merge branch 'bc/receive-pack-stdout-protection' into next
When "git push" triggered the automatic gc on the receiving end, a
message from "git prune" that said it was removing cruft leaked to
the standard output, breaking the communication protocol.

* bc/receive-pack-stdout-protection:
  receive-pack: do not leak output from auto-gc to standard output
  t/t5400: demonstrate breakage caused by informational message from prune
2012-08-20 12:41:49 -07:00
Junio C Hamano
e28b80416c Merge branch 'ab/diff-write-incomplete-line' into next
The output from "git diff -B" for a file that ends with an
incomplete line did not put "\ No newline..." on a line of its own.

* ab/diff-write-incomplete-line:
  Fix '\ No newline...' annotation in rewrite diffs
2012-08-20 12:41:44 -07:00
Junio C Hamano
3e2598a67b Merge branch 'jc/maint-t7406-rev-parse-max-count-huh' into next
Test clean-up, with no behaviour change.

* jc/maint-t7406-rev-parse-max-count-huh:
  t7406: fix misleading "rev-parse --max-count=1 HEAD"
2012-08-20 12:41:39 -07:00
Junio C Hamano
5bc2c49628 Merge branch 'jk/maint-null-in-trees' into next
We do not want a link to 0{40} object stored anywhere in our objects.

* jk/maint-null-in-trees:
  fsck: detect null sha1 in tree entries
  do not write null sha1s to on-disk index
  diff: do not use null sha1 as a sentinel value
2012-08-20 12:41:32 -07:00
Junio C Hamano
553e6c0987 Merge branch 'mm/push-default-switch-warning' into next
In the next major release, we will finally switch "git push [$there]"
that does not say what to push from the traditional "matching" to
the updated "simple" semantics, that pushes the current branch to
the branch with the same name only when the current branch is set to
integrate with that remote branch (all other cases will error out).

* mm/push-default-switch-warning:
  push: start warning upcoming default change for push.default
2012-08-20 12:37:55 -07:00
Junio C Hamano
ab1db717c1 Merge branch 'jc/doc-git-updates' into next
* jc/doc-git-updates:
  Documentation: update the introductory section
2012-08-20 12:36:12 -07:00
Junio C Hamano
97430716e0 Merge branch 'mv/pull-r-for-rebase' into next
A minor documentation update.

* mv/pull-r-for-rebase:
  man: git pull -r is a short for --rebase
2012-08-20 12:36:06 -07:00
Junio C Hamano
54d1a5a68e Merge branch 'jc/maint-abbrev-option-cli' into next
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
2012-08-20 12:36:01 -07:00
Junio C Hamano
0f669d2eb4 Merge branch 'jc/maint-rev-list-topo-doc' into next
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
2012-08-20 12:35:54 -07:00
Junio C Hamano
4984865e49 Merge branch 'hv/coding-guidelines' into next
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
2012-08-20 12:35:50 -07:00
Junio C Hamano
d51021da24 Merge branch 'jk/check-docs-update' into next
Simplify "make check-docs" implementation and update its coverage.

* jk/check-docs-update:
  check-docs: get documented command list from Makefile
  check-docs: drop git-help special-case
  check-docs: list git-gui as a command
  check-docs: factor out command-list
  command-list: mention git-credential-* helpers
  command-list: add git-sh-i18n
  check-docs: update non-command documentation list
  check-docs: mention gitweb specially
2012-08-20 12:35:45 -07:00
Junio C Hamano
9eb658ea86 Merge branch 'jc/tag-doc' into next
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
2012-08-20 12:35:41 -07:00
Junio C Hamano
a4aa740350 Merge branch 'js/gitweb-path-info-unquote' into next
Stripping of PATH_INFO in gitweb did not take url style quoting into
account, failing to notice directories with funny characters e.g. SP
in their paths.

* js/gitweb-path-info-unquote:
  gitweb: URL-decode $my_url/$my_uri when stripping PATH_INFO
2012-08-20 12:35:32 -07:00
Junio C Hamano
2f21f63628 Merge branch 'tr/void-diff-setup-done' into next
Remove unnecessary code.

* tr/void-diff-setup-done:
  diff_setup_done(): return void
2012-08-20 12:35:26 -07:00
Junio C Hamano
00aeb19d49 Merge branch 'tr/merge-recursive-flush' into next
Remove unnecessary code.

* tr/merge-recursive-flush:
  merge-recursive: eliminate flush_buffer() in favor of write_in_full()
2012-08-20 12:35:19 -07:00
Junio C Hamano
ebe0e1a9be Merge branch 'mm/die-with-dashdash-help' into next
Reword error messages.

* mm/die-with-dashdash-help:
  setup: clarify error messages for file/revisions ambiguity
2012-08-20 12:35:14 -07:00
Junio C Hamano
cf5ee1cac3 Merge branch 'tr/maint-send-email-2047' into next
"git send-email" did not unquote encoded words that appear on the
header correctly, and lost "_" from strings.

* tr/maint-send-email-2047:
  send-email: improve RFC2047 quote parsing
2012-08-20 12:35:09 -07:00
Junio C Hamano
34076c6ca7 Merge branch 'nd/index-errno' into next
Assignments to errno before calling system functions that used to
matter in the old code were left behind after the code structure
changed sufficiently to make them useless.

* nd/index-errno:
  read_index_from: remove bogus errno assignments
2012-08-20 12:35:03 -07:00
Junio C Hamano
c373e0e0c4 Merge branch 'mk/test-seq' into next
Add a compatibility/utility function to the test framework.

* mk/test-seq:
  tests: Introduce test_seq
2012-08-20 12:34:58 -07:00
Junio C Hamano
260975b0a0 Merge branch 'pg/maint-apply-remove-unused-variable' into next
Remove an unused field.

* pg/maint-apply-remove-unused-variable:
  apply: delete unused deflate_origlen from patch struct
2012-08-20 12:34:49 -07:00
Junio C Hamano
dd44c4a16a Merge branch 'jc/test-prereq' into next
Teaches the test framework to probe rarely used prerequistes lazily,
and make use of it for detecting SYMLINKS, CASE_INSENSITIVE_FS and
NKD/NKC MacOS x gotcha.

* jc/test-prereq:
  fixup! t3910: use the UTF8_NFD_TO_NFC test prereq
  t3910: use the UTF8_NFD_TO_NFC test prereq
  test-lib: provide UTF8 behaviour as a prerequisite
  t0050: use the SYMLINKS test prereq
  t0050: use the CASE_INSENSITIVE_FS test prereq
  test-lib: provide case insensitivity as a prerequisite
  test: allow prerequisite to be evaluated lazily
  test: rename $satisfied to $satisfied_prereq
2012-08-20 12:34:34 -07:00
Junio C Hamano
889d35899b Git 1.7.12
Signed-off-by: Junio C Hamano <gitster@pobox.com>
v1.7.12
2012-08-19 17:02:11 -07:00
Junio C Hamano
91e4bfe96f Merge branch 'jc/doc-git-updates' (early part)
* 'jc/doc-git-updates' (early part):
  Documentation: update URL for formatted pages
2012-08-17 13:27:10 -07:00
Junio C Hamano
7687ae98e0 Documentation: update the introductory section
The second paragraph in the git(1) description section were meant to
guide people who are not ready to dive into this page away from here.
Referring migrating CVS users to another page before they get
acquainted with Git was somewhat out of place.  Move the reference to
the "FURTHER DOCUMENTATION" section and push that section down.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-08-17 13:26:20 -07:00
Junio C Hamano
c70c09b6fc Documentation: update URL for formatted pages
The one at kernel.org has not been updated for quite a while and
can no longer be called "the latest".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-08-17 13:25:43 -07:00
Miklos Vajna
d9aa361043 man: git pull -r is a short for --rebase
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>
2012-08-17 00:26:52 -07:00
Junio C Hamano
9c81990bdd gitcli: describe abbreviation of long options
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-08-16 23:16:28 -07:00
Junio C Hamano
bd120e36d2 Merge git://github.com/git-l10n/git-po to update Swedish translation
* git://github.com/git-l10n/git-po:
  l10n: Fixes to Swedish translation
2012-08-16 20:13:45 -07:00
Peter Krefting
5b8056c155 l10n: Fixes to Swedish translation
Tersify texts overflowing an 80-character terminal.
Fix spelling mistakes.

Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
2012-08-16 13:57:51 +01:00
Junio C Hamano
2a9a19e1b1 Git 1.7.12-rc3
Signed-off-by: Junio C Hamano <gitster@pobox.com>
v1.7.12-rc3
2012-08-15 13:46:16 -07:00
Junio C Hamano
47e32d071e Sync with 1.7.11.5 2012-08-15 13:41:17 -07:00
Junio C Hamano
cd7c0be19f Git 1.7.11.5
Signed-off-by: Junio C Hamano <gitster@pobox.com>
v1.7.11.5
2012-08-15 13:39:53 -07:00
Junio C Hamano
d7d3b56bb1 Merge branch 'rj/maint-grep-remove-redundant-test' into maint
* rj/maint-grep-remove-redundant-test:
  t7810-*.sh: Remove redundant test
2012-08-15 13:37:20 -07:00
Junio C Hamano
45b65a6b67 Merge branch 'hv/link-alt-odb-entry' into maint
* hv/link-alt-odb-entry:
  link_alt_odb_entry: fix read over array bounds reported by valgrind
2012-08-15 13:36:47 -07:00