]> Kevux Git Server - rit/log
rit
13 years agoMerge branch 'ms/git-svn-1.7'
Junio C Hamano [Wed, 22 Aug 2012 18:51:20 +0000 (11:51 -0700)]
Merge branch 'ms/git-svn-1.7'

A series by Michael Schwern via Eric to update git-svn to revamp the
way URLs are internally passed around, to make it work with SVN 1.7.

* ms/git-svn-1.7:
  git-svn: remove ad-hoc canonicalizations
  git-svn: canonicalize newly-minted URLs
  git-svn: introduce add_path_to_url function
  git-svn: canonicalize earlier
  git-svn: replace URL escapes with canonicalization
  git-svn: attempt to mimic SVN 1.7 URL canonicalization
  t9107: fix typo
  t9118: workaround inconsistency between SVN versions
  Git::SVN{,::Ra}: canonicalize earlier
  git-svn: path canonicalization uses SVN API
  Git::SVN::Utils: remove irrelevant comment
  git-svn: add join_paths() to safely concatenate paths
  git-svn: factor out _collapse_dotdot function
  git-svn: use SVN 1.7 to canonicalize when possible
  git-svn: move canonicalization to Git::SVN::Utils
  use Git::SVN{,::RA}->url accessor globally
  use Git::SVN->path accessor globally
  Git::SVN::Ra: use accessor for URLs
  Git::SVN: use accessor for URLs internally
  Git::SVN: use accessors internally for path

13 years agot3910: use the UTF8_NFD_TO_NFC test prereq
Michael J Gruber [Mon, 30 Jul 2012 09:57:18 +0000 (11:57 +0200)]
t3910: use the UTF8_NFD_TO_NFC test prereq

Besides reusing the new test prerequisite, this fixes also the issue
that the current output is not TAP compliant and produces the output "no
reason given" [for skipping].

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoMerge branch 'maint-1.7.11' into maint
Junio C Hamano [Wed, 22 Aug 2012 18:27:30 +0000 (11:27 -0700)]
Merge branch 'maint-1.7.11' into maint

* maint-1.7.11:
  contrib/ciabot: Get ciabot configuration from git variables

13 years agocontrib/ciabot: Get ciabot configuration from git variables
Eric S. Raymond [Wed, 22 Aug 2012 10:52:30 +0000 (06:52 -0400)]
contrib/ciabot: Get ciabot configuration from git variables

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>
13 years agofast-import: document the --done option
Eric S. Raymond [Wed, 22 Aug 2012 10:57:05 +0000 (06:57 -0400)]
fast-import: document the --done option

Acked-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: write-tree: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:53 +0000 (19:32 +0700)]
i18n: write-tree: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: verify-tag: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:52 +0000 (19:32 +0700)]
i18n: verify-tag: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: verify-pack: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:51 +0000 (19:32 +0700)]
i18n: verify-pack: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: update-server-info: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:50 +0000 (19:32 +0700)]
i18n: update-server-info: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: update-ref: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:49 +0000 (19:32 +0700)]
i18n: update-ref: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: update-index: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:48 +0000 (19:32 +0700)]
i18n: update-index: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: tag: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:47 +0000 (19:32 +0700)]
i18n: tag: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: symbolic-ref: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:46 +0000 (19:32 +0700)]
i18n: symbolic-ref: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: show-ref: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:45 +0000 (19:32 +0700)]
i18n: show-ref: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: show-branch: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:44 +0000 (19:32 +0700)]
i18n: show-branch: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoam: quote string for translation before passing to eval_gettextln
Nguyễn Thái Ngọc Duy [Wed, 22 Aug 2012 14:48:03 +0000 (21:48 +0700)]
am: quote string for translation before passing to eval_gettextln

If it's not quoted, the string is expanded before it gets looked up in
gettext database and obviously nothing is returned.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agocommit/commit-tree: correct latin1 to utf-8
Linus Torvalds [Thu, 28 Jun 2012 18:24:14 +0000 (11:24 -0700)]
commit/commit-tree: correct latin1 to utf-8

When a line in the message is not a valid utf-8, "git mailinfo"
attempts to convert it to utf-8 assuming the input is latin1 (and
punt if it does not convert cleanly).  Using the same heuristics in
"git commit" and "git commit-tree" lets the editor output be in
latin1 to make the overall system more consistent.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agodifftool: silence warning
Ross Lagerwall [Tue, 21 Aug 2012 10:21:40 +0000 (12:21 +0200)]
difftool: silence warning

Silence a warning given when running git difftool --dir-diff and
there are no changes.

This is because command_oneline returns undef when the command has no
output, not ''.

Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
Acked-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agowarn_on_inaccessible(): a helper to warn on inaccessible paths
Junio C Hamano [Tue, 21 Aug 2012 21:52:07 +0000 (14:52 -0700)]
warn_on_inaccessible(): a helper to warn on inaccessible paths

The previous series introduced warnings to multiple places, but it
could become tiring to see the warning on the same path over and
over again during a single run of Git.  Making just one function
responsible for issuing this warning, we could later choose to keep
track of which paths we issued a warning (it would involve a hash
table of paths after running them through real_path() or something)
in order to reduce noise.

Right now we do not know if the noise reduction is necessary, but it
still would be a good code reduction/sharing anyway.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoattr: warn on inaccessible attribute files
Jeff King [Tue, 21 Aug 2012 06:31:52 +0000 (02:31 -0400)]
attr: warn on inaccessible attribute files

Just like config and gitignore files, we silently ignore
missing or inaccessible attribute files. An existent but
inaccessible file is probably a configuration error, so
let's warn the user.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agogitignore: report access errors of exclude files
Jeff King [Tue, 21 Aug 2012 06:26:07 +0000 (02:26 -0400)]
gitignore: report access errors of exclude files

When we try to access gitignore files, we check for their
existence with a call to "access". We silently ignore
missing files. However, if a file is not readable, this may
be a configuration error; let's warn the user.

For $GIT_DIR/info/excludes or core.excludesfile, we can just
use access_or_warn. However, for per-directory files we
actually try to open them, so we must add a custom warning.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoconfig: warn on inaccessible files
Jeff King [Tue, 21 Aug 2012 06:10:59 +0000 (02:10 -0400)]
config: warn on inaccessible files

Before reading a config file, we check "!access(path, R_OK)"
to make sure that the file exists and is readable. If it's
not, then we silently ignore it.

For the case of ENOENT, this is fine, as the presence of the
file is optional. For other cases, though, it may indicate a
configuration error (e.g., not having permissions to read
the file). Let's print a warning in these cases to let the
user know.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agofor-each-ref: Fix sort with multiple keys
Kacper Kornet [Tue, 21 Aug 2012 07:47:26 +0000 (09:47 +0200)]
for-each-ref: Fix sort with multiple keys

The linked list describing sort options was not correctly set up in
opt_parse_sort. In the result, contrary to the documentation, only the
last of multiple --sort options to git-for-each-ref was taken into
account. This commit fixes it.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agot6300: test sort with multiple keys
Kacper Kornet [Tue, 21 Aug 2012 07:46:06 +0000 (09:46 +0200)]
t6300: test sort with multiple keys

Documentation of git-for-each-ref says that --sort=<key> option can be
used multiple times, in which case the last key becomes the primary key.
However this functionality was never checked in test suite and is
currently broken. This commit adds appropriate test in preparation for fix.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agogettext: do not translate empty string
Thomas Rast [Mon, 20 Aug 2012 18:24:56 +0000 (20:24 +0200)]
gettext: do not translate empty string

The gettext .po files have a header, but it looks like the
translation specification for an empty string.  This results in
_("") actually returning that header.

Check the input to _() and do not call gettext() on an empty string;
in some places, we run _(opts->help) where opts->help may be empty.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agogit p4: make branch detection work with --use-client-spec
Pete Wyckoff [Sat, 11 Aug 2012 16:55:04 +0000 (12:55 -0400)]
git p4: make branch detection work with --use-client-spec

The bug report in http://stackoverflow.com/questions/11893688
observes that files are mapped into the wrong locations in
git when both --use-client-spec and --branch-detection are enabled.

Fix this by changing the relative path prefix to match discovered
branches when using a client spec.

The problem was likely introduced with ecb7cf9 (git-p4: rewrite view
handling, 2012-01-02).

Signed-off-by: Pete Wyckoff <pw@padd.com>
Tested-by: Matthew Korich <matthew@korich.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: shortlog: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:43 +0000 (19:32 +0700)]
i18n: shortlog: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: rm: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:42 +0000 (19:32 +0700)]
i18n: rm: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: revert, cherry-pick: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:41 +0000 (19:32 +0700)]
i18n: revert, cherry-pick: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: rev-parse: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:40 +0000 (19:32 +0700)]
i18n: rev-parse: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: read-tree: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:34 +0000 (19:32 +0700)]
i18n: read-tree: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: reset: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:39 +0000 (19:32 +0700)]
i18n: reset: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: push: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:33 +0000 (19:32 +0700)]
i18n: push: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: rerere: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:38 +0000 (19:32 +0700)]
i18n: rerere: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: prune: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:32 +0000 (19:32 +0700)]
i18n: prune: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: status: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:37 +0000 (19:32 +0700)]
i18n: status: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: prune-packed: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:31 +0000 (19:32 +0700)]
i18n: prune-packed: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: replace: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:36 +0000 (19:32 +0700)]
i18n: replace: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: pack-refs: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:30 +0000 (19:32 +0700)]
i18n: pack-refs: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: remote: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:35 +0000 (19:32 +0700)]
i18n: remote: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: pack-objects: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:29 +0000 (19:32 +0700)]
i18n: pack-objects: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: notes: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:28 +0000 (19:32 +0700)]
i18n: notes: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: name-rev: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:27 +0000 (19:32 +0700)]
i18n: name-rev: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: mv: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:26 +0000 (19:32 +0700)]
i18n: mv: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: mktree: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:25 +0000 (19:32 +0700)]
i18n: mktree: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: merge: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:24 +0000 (19:32 +0700)]
i18n: merge: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: merge-file: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:23 +0000 (19:32 +0700)]
i18n: merge-file: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: merge-base: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:22 +0000 (19:32 +0700)]
i18n: merge-base: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: ls-tree: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:21 +0000 (19:32 +0700)]
i18n: ls-tree: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: ls-files: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:20 +0000 (19:32 +0700)]
i18n: ls-files: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: log: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:19 +0000 (19:32 +0700)]
i18n: log: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: init-db: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:18 +0000 (19:32 +0700)]
i18n: init-db: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: help: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:17 +0000 (19:32 +0700)]
i18n: help: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: hash-object: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:16 +0000 (19:32 +0700)]
i18n: hash-object: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: grep: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:15 +0000 (19:32 +0700)]
i18n: grep: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: gc: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:14 +0000 (19:32 +0700)]
i18n: gc: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: fsck: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:13 +0000 (19:32 +0700)]
i18n: fsck: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: format-patch: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:12 +0000 (19:32 +0700)]
i18n: format-patch: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: for-each-ref: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:11 +0000 (19:32 +0700)]
i18n: for-each-ref: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: fmt-merge-msg: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:10 +0000 (19:32 +0700)]
i18n: fmt-merge-msg: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: fetch: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:09 +0000 (19:32 +0700)]
i18n: fetch: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: fast-export: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:08 +0000 (19:32 +0700)]
i18n: fast-export: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: describe: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:07 +0000 (19:32 +0700)]
i18n: describe: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: config: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:05 +0000 (19:32 +0700)]
i18n: config: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: count-objects: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:06 +0000 (19:32 +0700)]
i18n: count-objects: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: commit: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:04 +0000 (19:32 +0700)]
i18n: commit: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: column: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:03 +0000 (19:32 +0700)]
i18n: column: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: clone: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:02 +0000 (19:32 +0700)]
i18n: clone: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: clean: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:01 +0000 (19:32 +0700)]
i18n: clean: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: cherry: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:32:00 +0000 (19:32 +0700)]
i18n: cherry: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: checkout: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:59 +0000 (19:31 +0700)]
i18n: checkout: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: checkout-index: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:58 +0000 (19:31 +0700)]
i18n: checkout-index: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: check-attr: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:57 +0000 (19:31 +0700)]
i18n: check-attr: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: cat-file: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:56 +0000 (19:31 +0700)]
i18n: cat-file: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: branch: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:55 +0000 (19:31 +0700)]
i18n: branch: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: blame: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:54 +0000 (19:31 +0700)]
i18n: blame: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: add: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:52 +0000 (19:31 +0700)]
i18n: add: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: bisect--helper: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:53 +0000 (19:31 +0700)]
i18n: bisect--helper: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: archive: mark parseopt strings for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:51 +0000 (19:31 +0700)]
i18n: archive: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoi18n: mark "style" in OPT_COLUMN() for translation
Nguyễn Thái Ngọc Duy [Mon, 20 Aug 2012 12:31:50 +0000 (19:31 +0700)]
i18n: mark "style" in OPT_COLUMN() for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoprecompose-utf8: do not call checks for non-ascii "utf8"
Junio C Hamano [Mon, 20 Aug 2012 18:12:58 +0000 (11:12 -0700)]
precompose-utf8: do not call checks for non-ascii "utf8"

As suggested by Linus, this function is not checking UTF-8-ness of the
string; it only is seeing if it is pure US-ASCII.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoGit 1.7.12
Junio C Hamano [Mon, 20 Aug 2012 00:02:11 +0000 (17:02 -0700)]
Git 1.7.12

Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agogit-config doc: unconfuse an example
Junio C Hamano [Sat, 18 Aug 2012 23:35:09 +0000 (16:35 -0700)]
git-config doc: unconfuse an example

One fictitious command "proxy-command" is enclosed inside a double
quote pair, while another fictitious command "default-proxy" is not
in the example, but the quoting does not change anything in the pair
of examples.  Remove the quotes to avoid unnecessary confusion.

Noticed by Michael Haggerty.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agogit-config.txt: fix example
Michael Haggerty [Sat, 18 Aug 2012 17:32:10 +0000 (19:32 +0200)]
git-config.txt: fix example

The "--add" option is required to add a new value to a multivalued
configuration entry.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoMerge branch 'jc/doc-git-updates' (early part)
Junio C Hamano [Fri, 17 Aug 2012 20:27:10 +0000 (13:27 -0700)]
Merge branch 'jc/doc-git-updates' (early part)

* 'jc/doc-git-updates' (early part):
  Documentation: update URL for formatted pages

13 years agoDocumentation: update the introductory section
Junio C Hamano [Fri, 17 Aug 2012 19:48:52 +0000 (12:48 -0700)]
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>
13 years agoDocumentation: update URL for formatted pages
Junio C Hamano [Fri, 17 Aug 2012 19:14:57 +0000 (12:14 -0700)]
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>
13 years agostash: invoke rerere in case of conflict
Phil Hord [Tue, 10 Jul 2012 22:52:28 +0000 (18:52 -0400)]
stash: invoke rerere in case of conflict

"stash apply" directly calls a backend merge function which does not
automatically invoke rerere.  This confuses mergetool when leftover
rerere state is left behind from previous merges.

Invoke rerere explicitly when we encounter a conflict during stash
apply.  This turns the test introduced by the previous commit to
succeed.

Signed-off-by: Phil Hord <hordp@cisco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agotest: git-stash conflict sets up rerere
Phil Hord [Tue, 10 Jul 2012 22:52:27 +0000 (18:52 -0400)]
test: git-stash conflict sets up rerere

Add a test to make sure that a conflicted "stash apply" invokes
rerere to record the conflicts and resolve the the files it can
(the current code doesn't, so the test is marked as failing).

Without correct state recorded for rerere, mergetool may be
confused, causing it to think no files have conflicts even though
they do.  This condition is not verified by this test since a
subsequent commit will change the behavior to enable rerere for
stash conflicts.

Also, the next test expected us to finish up with a reset, which is
impossible to do if we fail (as we must) and it's an unreasonable
expectation anyway.  Begin the next test with a reset of its own
instead.

Signed-off-by: Phil Hord <hordp@cisco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agocleanup precompose_utf8
Robin Rosenberg [Fri, 17 Aug 2012 14:53:10 +0000 (16:53 +0200)]
cleanup precompose_utf8

 - Remove extraneous parentheses and braces;

 - Remove redundant NUL-termination before strcpy();

 - Check result of unlink when probing for decomposed file names;

 - Adjust for the coding style by adding missing whitespaces;

 - Move storage class "static" at the beginning of the decl.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoman: git pull -r is a short for --rebase
Miklos Vajna [Thu, 16 Aug 2012 09:50:18 +0000 (11:50 +0200)]
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>
13 years agogitcli: describe abbreviation of long options
Junio C Hamano [Fri, 17 Aug 2012 06:16:22 +0000 (23:16 -0700)]
gitcli: describe abbreviation of long options

Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agocontrib: add win32 credential-helper
Erik Faye-Lund [Fri, 27 Jul 2012 17:10:06 +0000 (19:10 +0200)]
contrib: add win32 credential-helper

Since the Windows port of Git expects binary pipes, we need to make
sure the helper-end also sets up binary pipes.

Side-step CRLF-issue in test to make it pass.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 years agoMerge git://github.com/git-l10n/git-po to update Swedish translation
Junio C Hamano [Fri, 17 Aug 2012 03:13:45 +0000 (20:13 -0700)]
Merge git://github.com/git-l10n/git-po to update Swedish translation

* git://github.com/git-l10n/git-po:
  l10n: Fixes to Swedish translation

14 years agol10n: Fixes to Swedish translation
Peter Krefting [Tue, 14 Aug 2012 08:58:14 +0000 (09:58 +0100)]
l10n: Fixes to Swedish translation

Tersify texts overflowing an 80-character terminal.
Fix spelling mistakes.

Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
14 years agoGit 1.7.12-rc3
Junio C Hamano [Wed, 15 Aug 2012 20:46:16 +0000 (13:46 -0700)]
Git 1.7.12-rc3

Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 years agoSync with 1.7.11.5
Junio C Hamano [Wed, 15 Aug 2012 20:41:17 +0000 (13:41 -0700)]
Sync with 1.7.11.5

14 years agoGit 1.7.11.5
Junio C Hamano [Wed, 15 Aug 2012 20:39:53 +0000 (13:39 -0700)]
Git 1.7.11.5

Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 years agoMerge branch 'rj/maint-grep-remove-redundant-test' into maint
Junio C Hamano [Wed, 15 Aug 2012 20:37:20 +0000 (13:37 -0700)]
Merge branch 'rj/maint-grep-remove-redundant-test' into maint

* rj/maint-grep-remove-redundant-test:
  t7810-*.sh: Remove redundant test

14 years agoMerge branch 'hv/link-alt-odb-entry' into maint
Junio C Hamano [Wed, 15 Aug 2012 20:36:47 +0000 (13:36 -0700)]
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