Initial package import
This commit is contained in:
parent
705e6d3575
commit
9ded68b785
7 changed files with 361 additions and 3 deletions
21
python-vcstool-0.1.37-older_git_syntax.sed
Normal file
21
python-vcstool-0.1.37-older_git_syntax.sed
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
s/^\( *\)git checkout -b <new-branch-name>$/\1git checkout -b new_branch_name/
|
||||
s/^(HEAD detached at \([0-9a-f\.]*\))$/(detached from \1)/
|
||||
s/^\(HEAD detached at [0-9a-f\.]*\)$/# \1/
|
||||
/^Your branch is up to date with 'origin\/.*'\.$/d
|
||||
/^On branch master$/{
|
||||
N
|
||||
/^On branch master\nYour branch is up to date with 'origin\/.*'\.$/{
|
||||
N
|
||||
/^On branch master\nYour branch is up to date with 'origin\/.*'\.\n$/{
|
||||
N
|
||||
s/^\(On branch master\)\nYour branch is up to date with 'origin\/.*'\.\n\n\(nothing to commit, working tree clean\)$/# \1\n\2/
|
||||
}
|
||||
}
|
||||
}
|
||||
/^You are not currently on a branch\.$/{
|
||||
N
|
||||
/^You are not currently on a branch\.\nPlease specify which branch you want to merge with\.$/{
|
||||
N
|
||||
s/^You are not currently on a branch\.\nPlease specify which branch you want to merge with\.\nSee git-pull(1) for details\.$/You are not currently on a branch\. Please specify which\nbranch you want to merge with\. See git-pull(1) for details\./
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue