Upgrade Git to latest master
commit57db18e616f5104e3dfa7c783c44b06c6e11ec2e
authorKirill Smelkov <kirr@navytux.spb.ru>
Wed, 1 Feb 2012 07:48:31 +0000 (1 11:48 +0400)
committerKirill Smelkov <kirr@navytux.spb.ru>
Wed, 1 Feb 2012 07:48:31 +0000 (1 11:48 +0400)
tree9760cb083c0944f6ba1f8a335103787326cd0940
parent79ecd5eeacc70c13fbbfbfa75f1f0da790e2967a
Upgrade Git to latest master

There are some news in git.c:

diff --git a/fromgit/git.c b/fromgit/git.c
index 0931b25..32e1baf 100644
--- a/fromgit/git.c
+++ b/fromgit/git.c
@@ -276,7 +276,7 @@ static void execv_dashed_external(const char **argv)
   * if we fail because the command is not found, it is
   * OK to return. Otherwise, we just pass along the status code.
   */
- status = run_command_v_opt(argv, RUN_SILENT_EXEC_FAILURE);
+ status = run_command_v_opt(argv, RUN_SILENT_EXEC_FAILURE | RUN_CLEAN_ON_EXIT);
  if (status >= 0 || errno != ENOENT)
  exit(status);

@@ -320,6 +320,8 @@ int main(int argc, const char **argv)
  if (!cmd)
  cmd = "navymail-help";

+ git_setup_gettext();
+
  /*
   * "git-xxxx" is the same as "git xxxx", but we obviously:
   *

but navymail continues to build ok and to pass tests, so I did not
investigate.

Signed-off-by: Kirill Smelkov <kirr@navytux.spb.ru>
git