[TopGit PATCH] tg-info: fix sed typo
- From
Jonathan Nieder <jrnieder@uchicago.edu>
- Date
- Aug 13, 2008, 05:16 UTC
- Message-ID
- <Pine.GSO.4.62.0808130013480.8904@harper.uchicago.edu>
- In-Reply-To
- <Pine.GSO.4.62.0808121911340.1112@harper.uchicago.edu>
There was a semicolon missing before a closing brace. The result is an error message on some operating systems (e.g., Mac OS 10.3).
$ tg info
Topic Branch: t/some-topic ( 2/ 2 commits)
Subject: [PATCH] t/some-topic
Base: 082a7c9
sed: 1: "1{s/^/Depends: /;n}; s/ ...": extra characters a
t the end of n commandSigned-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
--- Hi again,
Here is the other change I needed to run topgit. I hope it is of some use.
tg-info.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tg-info.sh b/tg-info.sh index 43589f9..7899ada 100644 --- a/tg-info.sh +++ b/tg-info.sh @@ -39,7 +39,7 @@ branch_contains "$name" "$base_rev" || echo "Base is newer than head! Please run \`tg update\`." git cat-file blob "$name:.topdeps" | - sed '1{s/^/Depends: /;n}; s/^/ /;' + sed '1{ s/^/Depends: /; n; }; s/^/ /' depcheck="$(mktemp)" missing_deps=
-- tg: (f27e693..) t/sed-fix (depends on: )