1. 15 12月, 2016 2 次提交
  2. 30 11月, 2016 4 次提交
    • J
      Git 2.11 · 454cb6bd
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      454cb6bd
    • J
      Merge branch 'jk/common-main' · 95c2b13a
      Junio C Hamano 提交于
      Fix for a small regression in a topic already in 'master'.
      
      * jk/common-main:
        common-main: stop munging argv[0] path
      95c2b13a
    • J
      Merge tag 'l10n-2.11.0-rnd3.1' of git://github.com/git-l10n/git-po · 061eeff1
      Junio C Hamano 提交于
      l10n-2.11.0-rnd3.1: update ru and ca translations
      
      * tag 'l10n-2.11.0-rnd3.1' of git://github.com/git-l10n/git-po:
        l10n: ru.po: update Russian translation
        l10n: ca.po: update translation
      061eeff1
    • J
      common-main: stop munging argv[0] path · 6854a8f5
      Jeff King 提交于
      Since 650c4492 (common-main: call git_extract_argv0_path(),
      2016-07-01), the argv[0] that is seen in cmd_main() of
      individual programs is always the basename of the
      executable, as common-main strips off the full path. This
      can produce confusing results for git-daemon, which wants to
      re-exec itself.
      
      For instance, if the program was originally run as
      "/usr/lib/git/git-daemon", it will try just re-execing
      "git-daemon", which will find the first instance in $PATH.
      If git's exec-path has not been prepended to $PATH, we may
      find the git-daemon from a different version (or no
      git-daemon at all).
      
      Normally this isn't a problem. Git commands are run as "git
      daemon", the git wrapper puts the exec-path at the front of
      $PATH, and argv[0] is already "daemon" anyway. But running
      git-daemon via its full exec-path, while not really a
      recommended method, did work prior to 650c4492. Let's make
      it work again.
      
      The real goal of 650c4492 was not to munge argv[0], but to
      reliably set the argv0_path global. The only reason it
      munges at all is that one caller, the git.c wrapper,
      piggy-backed on that computation to find the command
      basename.  Instead, let's leave argv[0] untouched in
      common-main, and have git.c do its own basename computation.
      
      While we're at it, let's drop the return value from
      git_extract_argv0_path(). It was only ever used in this one
      callsite, and its dual purposes is what led to this
      confusion in the first place.
      
      Note that by changing the interface, the compiler can
      confirm for us that there are no other callers storing the
      return value. But the compiler can't tell us whether any of
      the cmd_main() functions (besides git.c) were relying on the
      basename munging. However, we can observe that prior to
      650c4492, no other cmd_main() functions did that munging,
      and no new cmd_main() functions have been introduced since
      then. So we can't be regressing any of those cases.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6854a8f5
  3. 29 11月, 2016 6 次提交
  4. 25 11月, 2016 1 次提交
  5. 24 11月, 2016 5 次提交
  6. 23 11月, 2016 4 次提交
    • J
      Merge tag 'l10n-2.11.0-rnd2' of git://github.com/git-l10n/git-po · 1e371813
      Junio C Hamano 提交于
      l10n-2.11.0-rnd2
      
      * tag 'l10n-2.11.0-rnd2' of git://github.com/git-l10n/git-po:
        l10n: Fixed typo of git fetch-pack command
        l10n: git.pot: v2.11.0 round 2 (1 new, 1 removed)
        l10n: zh_CN: for git v2.11.0 l10n round 1
        l10n: pt_PT: update Portuguese translation
        l10n: fr.po fix grammar mistakes
        l10n: fr.po v2.11.0_rnd1
        l10n: sv.po: Update Swedish translation (2913t0f0u)
        l10n: vi.po: Updated translation to v2.11.0 (2913t)
        l10n: ko.po: Update Korean translation
        l10n: git.pot: v2.11.0 round 1 (209 new, 53 removed)
        l10n: ru.po: update Russian translation
      1e371813
    • J
      Merge branch 'js/prepare-sequencer' · 7f1dc9f4
      Junio C Hamano 提交于
      Fix for an error message string.
      
      * js/prepare-sequencer:
        i18n: fix unmatched single quote in error message
      7f1dc9f4
    • J
      archive: read local configuration · eb0224c6
      Junio C Hamano 提交于
      Since b9605bc4 ("config: only read .git/config from configured
      repos", 2016-09-12), we do not read from ".git/config" unless we
      know we are in a repository.  "git archive" however didn't do the
      repository discovery and instead relied on the old behaviour.
      
      Teach the command to run a "gentle" version of repository discovery
      so that local configuration variables are honoured.
      
      [jc: stole tests from peff]
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      eb0224c6
    • J
      mailinfo: read local configuration · 3f0ec068
      Junio C Hamano 提交于
      Since b9605bc4 ("config: only read .git/config from configured
      repos", 2016-09-12), we do not read from ".git/config" unless we
      know we are in a repository.  "git mailinfo" however didn't do the
      repository discovery and instead relied on the old behaviour.  This
      was mostly OK because it was merely run as a helper program by other
      porcelain scripts that first chdir's up to the root of the working
      tree.
      
      Teach the command to run a "gentle" version of repository discovery
      so that local configuration variables like mailinfo.scissors are
      honoured.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3f0ec068
  7. 22 11月, 2016 8 次提交
  8. 21 11月, 2016 1 次提交
  9. 19 11月, 2016 1 次提交
  10. 18 11月, 2016 4 次提交
  11. 15 11月, 2016 1 次提交
  12. 14 11月, 2016 2 次提交
  13. 12 11月, 2016 1 次提交