59f42ce81f
Changes: 2007-12-12: StGIT-0.14.1 released * Fixed typo in the required version of Python 2007-12-10: StGIT-0.14 released * Support for correctly running StGIT in subdirectories * 'repair' command for fixing an StGIT repository modified by GIT commands such as 'commit', 'pull', 'merge' or 'rebase' * 'edit' command for editing both the patch description and diff * Support for SMTP over TLS * Support for MIME multipart e-mail templates * '--attach' option to the 'mail' command to send a patch attached rather than inline * Diff statistics and shortlog added to the cover e-mail template * '--sign/ack' options to the 'import' and 'new' commands * '--number' to the 'log' command for limiting the output * Support for binary files in patches * Support for detached HEAD * Refactoring of some modules with better support for debugging * Many bug-fixes
17 lines
498 B
Text
17 lines
498 B
Text
$NetBSD: patch-aa,v 1.1 2008/01/10 06:35:49 bjs Exp $
|
|
|
|
--- contrib/stg-gitk.orig 2007-12-11 18:54:04.000000000 -0500
|
|
+++ contrib/stg-gitk
|
|
@@ -48,10 +48,10 @@ if [ $allbranches = 1 ]; then
|
|
refdirs="$GIT_DIR/refs"
|
|
else
|
|
# default to current branch
|
|
- if [ "$branches" == "" ]; then
|
|
+ if [ "$branches" = "" ]; then
|
|
branches="$(stg branch)"
|
|
fi
|
|
- if [ "$branches" == "" ]; then
|
|
+ if [ "$branches" = "" ]; then
|
|
echo >&2 "ERROR: cannot find current branch."
|
|
exit 1
|
|
fi
|