summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorPete Harlan <pgit@pcharlan.com>2009-01-18 04:10:14 (GMT)
committerEric Wong <normalperson@yhbt.net>2009-01-18 23:38:28 (GMT)
commite82f0d73f02e89a95d9477911774d314f70f1063 (patch)
treef1405da02eb0e7e65c44dc56f54021a9fc720510 /contrib/completion/git-completion.bash
parentbaf5fa8a7fdefc696fb1d79c95ae15a4cc779c1e (diff)
downloadgit-e82f0d73f02e89a95d9477911774d314f70f1063.zip
git-e82f0d73f02e89a95d9477911774d314f70f1063.tar.gz
git-e82f0d73f02e89a95d9477911774d314f70f1063.tar.bz2
git-svn: Add --localtime option to "fetch"
By default git-svn stores timestamps of fetched commits in Subversion's UTC format. Passing --localtime to fetch will convert them to the timezone of the server on which git-svn is run. This makes the timestamps of a resulting "git log" agree with what "svn log" shows for the same repository. Signed-off-by: Pete Harlan <pgit@pcharlan.com> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index ec701e8..60497a4 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1576,7 +1576,7 @@ _git_svn ()
--follow-parent --authors-file= --repack=
--no-metadata --use-svm-props --use-svnsync-props
--log-window-size= --no-checkout --quiet
- --repack-flags --user-log-author $remote_opts
+ --repack-flags --user-log-author --localtime $remote_opts
"
local init_opts="
--template= --shared= --trunk= --tags=