From 5fabb68b21ec899ea60c1e4d6f7e80309ea43eb6 Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Sun, 17 May 2009 21:36:08 +0200 Subject: [PATCH] Minor style fixes. --- git-svn-new-branch | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/git-svn-new-branch b/git-svn-new-branch index 65e9e97..1953bf6 100755 --- a/git-svn-new-branch +++ b/git-svn-new-branch @@ -6,19 +6,19 @@ prefix="svn-" USAGE='abort|branch-point|checkout|attach [--dry-run] URL [branch_name]' LONG_USAGE=" Commands: - abort : to abort an import - branch-point : return branch point svn revision - checkout : retrieve a new branch - attach : attach previously imported (see above) branch to - corresponding branch point. + abort : to abort an import + branch-point : return branch point svn revision + checkout : retrieve a new branch + attach : attach previously imported (see above) branch to + corresponding branch point. Options: - URL : the full url to subversion branch - branch_name : the name of the remote branch to use - (default is the name of the subversion branch) - the local branch name is the basename of this name, - prefixed with '$prefix' - --dry-run : nothing will changed in the local Git repository + URL : the full url to subversion branch + branch_name : the name of the remote branch to use + (default is the name of the subversion branch) + the local branch name is the basename of this name, + prefixed with '$prefix' + --dry-run : nothing will changed in the local Git repository --prefix=name : prefix to apply to the name of the local branch A common usage is: @@ -58,7 +58,7 @@ parse_command_line () { TEMP=`getopt -o dp: --long dry-run,prefix: -n git-svn-new-branch -- "$@"` if [ $? != 0 ]; then exit 1; fi - eval set -- "$TEMP" + eval set -- "$TEMP" while true ; do case "$1" in @@ -70,7 +70,7 @@ parse_command_line () { --) shift; break ;; *) exit 1;; esac - done + done if [ $requires_url = True ]; then URL=$1 @@ -229,7 +229,7 @@ find_previous_svn_rev () { fi done - echo "" + echo "" } find_nearest_rev () { -- 2.11.4.GIT