* [PATCH 0/5] Git coompletion updates and fixes
@ 2014-09-16 8:28 Øystein Walle
2014-09-16 8:28 ` [PATCH] Fun! Øystein Walle
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
It's been a while since 1.9.0. Here are updates that brings _git up to date
with 2.1.0. There are two different commits because I actually created them as
the versions were released and have no good excuse for why I haven't sent them
in before now... Squash as you please.
Seasoned with some other tune-ups.
Øystein Walle (5):
_git: updates for Git 2.0.0
_git: Add missing --list to git-tag
_git: updates for Git 2.1.0
_git: fix typo in git-apply
_git: add missing --3way option
Completion/Unix/Command/_git | 58 ++++++++++++++++++++++++++++++++++++--------
1 file changed, 48 insertions(+), 10 deletions(-)
--
2.1.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] Fun!
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
@ 2014-09-16 8:28 ` Øystein Walle
2014-09-16 8:28 ` [PATCH 1/5] _git: updates for Git 2.0.0 Øystein Walle
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
From: Øystein Walle <ow@datarespons.no>
---
SW/source/installdeps.sh | 56 ++++++++++++++++++++++++++++++++----------------
1 file changed, 38 insertions(+), 18 deletions(-)
diff --git a/SW/source/installdeps.sh b/SW/source/installdeps.sh
index 059ff3c..5a6dece 100755
--- a/SW/source/installdeps.sh
+++ b/SW/source/installdeps.sh
@@ -9,6 +9,26 @@ QCHARTSDIR=$BUILDDIR/include/qtcharts
depsdir=$PWD/deps
topdir=$PWD
+# Define colors if stdout is a terminal
+if [ -t 1 ]; then
+ # green=$(tput setaf 2)
+ # red=$(tput setaf 1)
+ # reset=$(tput sgr0)
+ red='^[[31m'
+ green='^[[32m'
+ reset='^[(B^[[m'
+else
+ red= green= reset=
+fi
+
+printok() {
+ printf "$green[OK]$reset %s\n" "$1"
+}
+
+printerr() {
+ printf "$red[ERROR]$reset %s\n" "$1" >&2
+}
+
# compiling with mingw will yield 'Msys', while linux distros will yield 'GNU/Linux'
DETECTED_OS=$(uname -o)
@@ -33,9 +53,9 @@ if [ ! -d "$BUILDDIR" ]; then
mkdir $BUILDDIR/bin
mkdir $BUILDDIR/lib
mkdir $BUILDDIR/html
- echo "[OK]"
+ printok
else
- echo "[OK] Build Directory Found"
+ printok "Build Directory Found"
fi
echo ""
@@ -58,9 +78,9 @@ if [ ! -d "$GTESTDIR" ]; then
cp gtest.a $BUILDDIR/lib
cp -r ./../include $BUILDDIR
cd $topdir
- echo "[OK]"
+ printok
else
- echo "[OK] Google Test Found"
+ printok "Google Test Found"
fi
echo ""
@@ -87,9 +107,9 @@ if [ ! -d "$QCHARTSDIR" ]; then
qmake CONFIG+="debug_and_release build_all nomake_demos_examples"; $MAKE -j1; $SUDO $MAKE install
mkdir $BUILDDIR/include/qtcharts
cd $topdir
- echo "[OK]"
+ printok
else
- echo "[OK] QtCharts Found"
+ printok "QtCharts Found"
fi
echo ""
@@ -115,9 +135,9 @@ if [ ! -d "$ZLIBDIR" ]; then
cp zconf.h $BUILDDIR/include/zlib
cp libz.a $BUILDDIR/lib
cd $topdir
- echo "[OK]"
+ printok
else
- echo "[OK] Zlib Found"
+ printok "Zlib Found"
fi
echo ""
@@ -145,9 +165,9 @@ if [ ! -d "$PROTODIR" ]; then
then exit 1
fi
cd $topdir
- echo "[OK]"
+ printok
else
- echo "[OK] Protobuf Found"
+ printok "Protobuf Found"
fi
echo ""
@@ -164,9 +184,9 @@ if [ ! -d "$EIGENDIR" ]; then
mkdir $BUILDDIR/include/eigen
cp -r . $BUILDDIR/include/eigen
cd $topdir
- echo "[OK]"
+ printok
else
- echo "[OK] Eigen FFT Found"
+ printok "Eigen FFT Found"
fi
echo ""
@@ -192,12 +212,12 @@ if [ "$DETECTED_OS" = "Msys" ]; then
if [ ! -f $BUILDDIR/release/Compress2003 ]; then
cp $topdir/libs/compresslib/Compress2003.dll $BUILDDIR/release
fi
- echo "[OK] - installed/verified compressions libs for $DETECTED_OS"
+ printok "installed/verified compressions libs for $DETECTED_OS"
echo ""
elif [ "$DETECTED_OS" = "GNU/Linux" ]; then
- echo "[OK] - no compression libs neccessary for $DETECTED_OS"
+ printok "no compression libs neccessary for $DETECTED_OS"
else
- echo "[ERROR] - failed installing compression libs, OS: $DETECTED_OS not recognized"
+ printerr "failed installing compression libs, OS: $DETECTED_OS not recognized"
fi
echo "Verifying SQL libraries Available"
@@ -212,7 +232,7 @@ if [ "$DETECTED_OS" = "Msys" ]; then
if [ ! -f $BUILDDIR/release/sqldrivers/qsqloci.dll ]; then
cp $topdir/libs/sqldrivers/qsqloci.dll $BUILDDIR/release/sqldrivers/
fi
- echo "[OK] - installed SQL drivers for $DETECTED_OS"
+ printok "installed SQL drivers for $DETECTED_OS"
elif [ "$DETECTED_OS" = "GNU/Linux" ]; then
if [ ! -f $BUILDDIR/debug/sqldrivers/libqsqloci.so ]; then
cp $topdir/libs/sqldrivers/libqsqloci.so $BUILDDIR/debug/sqldrivers/
@@ -220,7 +240,7 @@ elif [ "$DETECTED_OS" = "GNU/Linux" ]; then
if [ ! -f $BUILDDIR/release/sqldrivers/libqsqloci.so ]; then
cp $topdir/libs/sqldrivers/libqsqloci.so $BUILDDIR/release/sqldrivers/
fi
- echo "[OK] - installed/verified SQL drivers for $DETECTED_OS"
+ printok "installed/verified SQL drivers for $DETECTED_OS"
else
- echo "[ERROR] - failed installing SQL drivers, OS: $DETECTED_OS not recognized"
+ printerr "failed installing SQL drivers, OS: $DETECTED_OS not recognized"
fi
--
2.0.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/5] _git: updates for Git 2.0.0
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
2014-09-16 8:28 ` [PATCH] Fun! Øystein Walle
@ 2014-09-16 8:28 ` Øystein Walle
2014-09-16 8:28 ` [PATCH 2/5] _git: Add missing --list to git-tag Øystein Walle
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
This incorporates changes mentioned in the release notes since 1.9.0.
---
Completion/Unix/Command/_git | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 34a4e4f..f3d4f6a 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -104,6 +104,8 @@ _git-am () {
# undocumented (and not implemented here).
_arguments -S \
'(-s --signoff)'{-s,--signoff}'[add Signed-off-by: line to the commit message]' \
+ '(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[do not GPG-sign the commit]' \
'(-k --keep)'{-k,--keep}'[pass -k to git mailinfo]' \
'--keep-non-patch[pass -b to git mailinfo]' \
'( --no-keep-cr)--keep-cr[pass --keep-cr to git mailsplit]' \
@@ -508,6 +510,8 @@ _git-cherry-pick () {
'(-m --mainline)'{-m,--mainline}'[specify mainline when cherry-picking a merge commit]:parent number' \
'(-n --no-commit --ff)'{-n,--no-commit}'[do not make the actually commit]' \
'(-s --signoff --ff)'{-s,--signoff}'[add Signed-off-by line at the end of the commit message]' \
+ '(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[do not GPG-sign the commit]' \
'*'{-s,--strategy=}'[use given merge strategy]:merge strategy:__git_merge_strategies' \
'*'{-X,--strategy-option=}'[pass merge-strategy-specific option to merge strategy]' \
'(-e --edit -x -n --no-commit -s --signoff)--ff[fast forward, if possible]' \
@@ -663,6 +667,7 @@ _git-commit () {
'--cleanup=[specify how the commit message should be cleaned up]:mode:((verbatim\:"do not change the commit message at all"
whitespace\:"remove leading and trailing whitespace lines"
strip\:"remove both whitespace and commentary lines"
+ scissors\:"same as whitespace but cut from scissor line"
default\:"act as '\''strip'\'' if the message is to be edited and as '\''whitespace'\'' otherwise"))' \
'(-e --edit --no-edit)'{-e,--edit}'[edit the commit message before committing]' \
'(-e --edit --no-edit)--no-edit[do not edit the commit message before committing]' \
@@ -677,7 +682,8 @@ _git-commit () {
'--dry-run[only show list of paths that are to be commited or not, and any untracked]' \
'( --no-status)--status[include the output of git status in the commit message template]' \
'(--status )--no-status[do not include the output of git status in the commit message template]' \
- '(-S --gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[do not GPG-sign the commit]' \
'(-a --all --interactive -o --only -i --include *)--interactive[interactively update paths in the index file]' \
'*: :__git_ignore_line_inside_arguments __git_changed_files' \
- '(message)' \
@@ -1317,6 +1323,8 @@ _git-rebase () {
'--keep-empty[keep empty commits in the result]' \
'(- :)--skip[skip the current patch]' \
'(-m --merge)'{-m,--merge}'[use merging strategies to rebase]' \
+ '(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[do not GPG-sign the commit]' \
'*'{-s,--strategy=}'[use given merge strategy]:merge strategy:__git_merge_strategies' \
'*'{-X,--strategy-option=}'[pass merge-strategy-specific option to merge strategy]' \
'(-q --quiet -v --verbose --stat -n --no-stat)'{-q,--quiet}'[suppress all output]' \
@@ -1349,6 +1357,7 @@ _git-reset () {
_arguments -w -C -s \
'( --mixed --hard --merge --keep -p --patch -- *)--soft[do not touch the index file nor the working tree]' \
'(--soft --hard --merge --keep -p --patch -- *)--mixed[reset the index but not the working tree (default)]' \
+ '(--soft --hard --merge --keep -p --patch -- *)-N[keep --intent-to-add entries in the index]' \
'(--soft --mixed --merge --keep -p --patch -- *)--hard[match the working tree and index to the given tree]' \
'(--soft --mixed --hard --keep -p --patch -- *)--merge[reset out of a conflicted merge]' \
'(--soft --mixed --hard --merge -p --patch -- *)--keep[like --hard, but keep local working tree changes]' \
@@ -1382,6 +1391,8 @@ _git-revert () {
'(-m --mainline)'{-m+,--mainline=}'[pick which parent is mainline]:parent number' \
'(-n --no-commit)'{-n,--no-commit}'[do not commit the reversion]' \
'(-s --signoff)'{-s,--signoff}'[add Signed-off-by line at the end of the commit message]' \
+ '(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[do not GPG-sign the commit]' \
': :__git_commits'
}
@@ -1757,6 +1768,8 @@ _git-tag () {
'(--column)--no-column[do not display in columns]' \
'--contains=[only list tags which contain the specified commit]: :__git_commits' \
'--points-at=[only list tags of the given object]: :__git_commits' \
+ '--sort=[specify how the tags should be sorted]:mode:((refname\:"lexicographic order"
+ version\\\:refname\:"tag names are treated as version numbers"))' \
'::pattern' \
- verification \
'-v[verifies gpg signutare of tags]' \
@@ -1969,6 +1982,7 @@ _git-config () {
color.status.nobranch:'color of no-branch warning::->color'
color.ui:'color output of capable git commands::->color-bool:auto'
commit.cleanup:'default --cleanup option::->commit.cleanup:default'
+ commit.gpgsign:'always GPG-sign commits::->bool:false'
commit.status:'include status information in commit message template::->bool:true'
commit.template:'template file for commit messages:template:_files'
'diff.*.binary:make the diff driver treat files as binary::->bool:false'
@@ -2017,6 +2031,7 @@ _git-config () {
format.signoff:'enable --signoff by default::->bool:false'
'gc.*.reflogexpire:grace period for git reflog expire::->days:90'
'gc.*.reflogexpireunreachable:grace period for git reflog expire for unreachable entries::->days:30'
+ gc.aggressiveDepth:'maximum delta depth:maximum delta depth::->int:250'
gc.aggressiveWindow:'window size used in delta compression algorithm::->int:250'
gc.auto:'minimum limit for packing loose objects with --auto::->int:6700'
gc.autopacklimit:'minimum limit for packing packs with --auto::->int:50'
@@ -2192,10 +2207,11 @@ _git-config () {
pack.threads:'number of threads to use for searching for best delta matches:number of threads:->int'
pack.indexVersion:'default pack index version:index version:->string'
pack.packSizeLimit:'maximum size of packs:maximum size of packs:->bytes'
+ pull.ff:'accept fast-forwards only::->bool:false'
pull.octopus:'default merge strategy to use when pulling multiple branches::__git_merge_strategies'
pull.rebase:'rebase branches on top of the fetched branch, instead of merging::->pull.rebase:false'
pull.twohead:'default merge strategy to use when pulling a single branch::__git_merge_strategies'
- push.default:'action git push should take if no refspec is given::->push.default:matching'
+ push.default:'action git push should take if no refspec is given::->push.default:simple'
rebase.stat:'show a diffstat of what changed upstream since last rebase::->bool:false'
rebase.autosquash:'autosquash by default::->bool:false'
rebase.autostash:'autostash by default::->bool:false'
@@ -2319,6 +2335,7 @@ _git-config () {
transfer.hiderefs:'string(s) to decide which refs to omit from initial advertisements:hidden refs:->string'
uploadpack.hiderefs:'string(s) upload-pack uses to decide which refs to omit from its initial advertisement:hidden refs:->string'
uploadpack.allowtipsha1inwant:'allow upload-pack to accept a fetch request that asks for an object at the tip of a hidden ref::->bool:false'
+ uploadarchive.allowUnreachable:'allow git-upload-archive to accept an archive requests that ask for unreachable objects::->bool:false'
'url.*.insteadOf:string to start URLs with:prefix:->string'
'url.*.pushInsteadOf:string to start URLs to push to with:prefix:->string'
user.email:'email address used for commits::_email_addresses'
@@ -2516,6 +2533,7 @@ _git-config () {
tar:'git tar-tree options'
transfer:'options controlling transfers'
uploadpack:'git upload-pack options'
+ uploadarchive:'git upload-archive options'
url:'URL prefixes'
user:'options controlling user identity'
web:'web options'
@@ -6135,7 +6153,8 @@ __git_setup_revision_options () {
'--parents[display parents of commit]'
'--children[display children of commit]'
'--left-right[mark which side of symmetric diff commit is reachable from]'
- '--graph[display graphical representation of commit history]'
+ '(--show-linear-break )--graph[display graphical representation of commit history]'
+ '( --graph)--show-linear-break=[show a barrier between commits from different branches]:barrier'
'--count[display how many commits would have been listed]'
'(-n --max-count)'{-n+,--max-count=}'[maximum number of commits to display]: :__git_guard_number'
'--skip=[skip given number of commits before output]: :__git_guard_number'
@@ -6222,6 +6241,8 @@ __git_setup_merge_options () {
'( --no-squash)--squash[merge, but do not commit]'
'(--squash )--no-squash[merge and commit]'
'--ff-only[refuse to merge unless HEAD is up to date or merge can be resolved as a fast-forward]'
+ '(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=}'[GPG-sign the commit]::key id' \
+ '(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[do not GPG-sign the commit]' \
'*'{-s,--strategy=}'[use given merge strategy]:merge strategy:__git_merge_strategies'
'*'{-X,--strategy-option=}'[pass merge-strategy-specific option to merge strategy]'
'(--verify-signatures)--verify-signatures[verify the commits being merged or abort]'
--
2.1.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/5] _git: Add missing --list to git-tag
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
2014-09-16 8:28 ` [PATCH] Fun! Øystein Walle
2014-09-16 8:28 ` [PATCH 1/5] _git: updates for Git 2.0.0 Øystein Walle
@ 2014-09-16 8:28 ` Øystein Walle
2014-09-16 8:28 ` [PATCH 3/5] _git: updates for Git 2.1.0 Øystein Walle
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
---
Completion/Unix/Command/_git | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index f3d4f6a..202ada9 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1763,7 +1763,7 @@ _git-tag () {
'*:: :__git_ignore_line_inside_arguments __git_tags' \
- listing \
'-n+[limit line output of annotation]: :__git_guard_number "limit"' \
- '-l[list tags matching pattern]' \
+ '(-l --list)'{-l,--list}'[list tags matching pattern]' \
'(--no-column)--column=-[display tag listing in columns]::column.tag option:((always\:"always show in columns" never\:"never show in columns" auto\:"show in columns if the output is to the terminal" column\:"fill columns before rows (default)" row\:"fill rows before columns" plain\:"show in one column" dense\:"make unequal size columns to utilize more space" nodense\:"make equal size columns"))' \
'(--column)--no-column[do not display in columns]' \
'--contains=[only list tags which contain the specified commit]: :__git_commits' \
--
2.1.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/5] _git: updates for Git 2.1.0
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
` (2 preceding siblings ...)
2014-09-16 8:28 ` [PATCH 2/5] _git: Add missing --list to git-tag Øystein Walle
@ 2014-09-16 8:28 ` Øystein Walle
2014-09-16 8:28 ` [PATCH 4/5] _git: fix typo in git-apply Øystein Walle
2014-09-16 8:28 ` [PATCH 5/5] _git: add missing --3way option Øystein Walle
5 siblings, 0 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
This incorporates changes mentioned in the release notes since 2.0.0.
---
Completion/Unix/Command/_git | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 202ada9..d127190 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -876,8 +876,9 @@ _git-format-patch () {
'*--add-header=[add an arbitrary header to email headers]:header' \
'--cover-letter[generate a cover letter template]' \
'--notes=[append notes for the commit after the three-dash line]:: :__git_notes_refs' \
- '( --no-signature)--signature=[add a signature]:signature' \
- '(--signature )--no-signature[do not add a signature]' \
+ '( --no-signature --signature-file)--signature=[add a signature]:signature' \
+ '(--signature --signature-file)--no-signature[do not add a signature]' \
+ '(--signature --no-signature )--signature-file=[use contents of file as signature]' \
'--suffix=[use the given suffix for filenames]:filename suffix' \
'--quiet[suppress the output of the names of generated files]' \
'--no-binary[do not output contents of changes in binary files, only note that they differ]' \
@@ -1903,7 +1904,7 @@ _git-config () {
core.packedGitWindowSize:'size of mappings of pack files:pack window size:->bytes'
core.packedGitLimit:'maximum number of bytes to map from pack files:maximum pack file map size:->bytes'
core.precomposeunicode:'revert the unicode decomposition of filenames done by Mac OS::->bool:false'
- core.deltaBaseCacheLimit:'maximum size of cache for base objects:maximum base objects cache size:->bytes:16m'
+ core.deltaBaseCacheLimit:'maximum size of cache for base objects:maximum base objects cache size:->bytes:96m'
core.bigFileThreshold:'maximum size of files to compress:maximum compress size:->bytes:512m'
core.excludesfile:'additional file to use for exclusion:excludes file:_files'
core.askpass:'program to use for asking for passwords:password command:_path_commands'
@@ -1911,7 +1912,7 @@ _git-config () {
core.pager:'pager to use for paginating output:pager:_path_commands'
core.whitespace:'list of common whitespace problems to notice::->core.whitespace'
core.fsyncobjectfiles:'fsync() when writing object files::->bool:false'
- core.preloadindex:'use parallel index preload for operations like git diff::->bool:false'
+ core.preloadindex:'use parallel index preload for operations like git diff::->bool:true'
core.createObject:'take steps to prevent overwriting existing objects::->core.createObject:link'
core.checkstat:'determine which stat fields to match between the index and work tree::->core.checkstat:default'
core.notesRef:'show notes in given refs:refs:->string:refs/notes/commits'
@@ -2092,6 +2093,7 @@ _git-config () {
guitool.title:'title of prompt dialog:prompt title:->string'
guitool.prompt:'prompt to display:prompt:->string'
grep.extendedRegexp:'enable --extended-regexp option by default (ignored when grep.patternType is set)::->bool:false'
+ grep.fullname:'enable --full-name option by default::->bool:false'
grep.lineNumber:'enable -n option by default::->bool:false'
grep.patternType:'default matching pattern type::->grep.patternType:default'
help.browser:'browser used to display help in web format::__git_browsers'
@@ -2176,7 +2178,7 @@ _git-config () {
'man.*.path:path to use for the man viewer:absolute man tool path:_files -g "*(*)"'
merge.branchdesc:'populate the log message with the branch description text as well::->bool:false'
merge.conflictstyle:'style used for conflicted hunks::->merge.conflictstyle:merge'
- merge.defaultToUpstream:'merge the upstream branches configured for the current branch by default::->bool:false'
+ merge.defaultToUpstream:'merge the upstream branches configured for the current branch by default::->bool:true'
merge.ff:'allow fast-forward merges::->merge.ff:true'
merge.log:'include summaries of merged commits in new merge commit messages::->bool:false'
merge.renameLimit:'number of files to consider when detecting copy/renames during merge:limit:->int'
@@ -2327,6 +2329,7 @@ _git-config () {
'svn-remote.*.pushurl:URL to push to::_urls'
'svn-remote.*.branches:branch mappings:branch mapping:->string'
'svn-remote.*.tags:tag mappings:tag mapping:->string'
+ tag.sort:'Default sorting method:->string'
'tar.*.command:specify a shell command through which the tar output generated by git archive should be piped::_path_commands'
'tar.*.remote:enable <format> for use by remote clients via git-upload-archive::->bool'
tar.umask:'umask to apply::->umask'
@@ -3237,6 +3240,8 @@ _git-repack () {
(( $+functions[_git-replace] )) ||
_git-replace () {
_arguments -w -S -s \
+ '--edit[edit existing object as base a starting point]' \
+ '--graft[rewrite the parents of a commit]' \
'(- *)-f[overwrite existing replace ref]' \
'(- 2)-d[delete existing replace refs]' \
'(- : *)-l[list replace refs]:pattern' \
@@ -3548,6 +3553,13 @@ _git-show-branch () {
return ret
}
+(( $+functions[_git-verify-commit] )) ||
+_git-verify-commit () {
+ _arguments -w -S -s \
+ '(-v --verbose)'{-v,--verbose}'[print the contents of the commit object before validating it]' \
+ '*: :__git_commits'
+}
+
(( $+functions[_git-verify-tag] )) ||
_git-verify-tag () {
_arguments -w -S -s \
@@ -3672,6 +3684,8 @@ _git-send-email () {
'--annotate[review and edit each patch before sending it]' \
'--bcc=[Bcc: value for each email]: :_email_addresses' \
'--cc=[starting Cc: value for each email]: :_email_addresses' \
+ '--to-cover[Copy the To: list from the first file to the rest]' \
+ '--cc-cover[Copy the Cc: list from the first file to the rest]' \
'--compose[edit introductory message for patch series]' \
'--from=[specify sender]:email address:_email_addresses' \
'--in-reply-to=[specify contents of first In-Reply-To header]:message-id' \
@@ -5067,6 +5081,7 @@ _git_commands () {
rerere:'reuse recorded resolution of conflicted merges'
rev-parse:'pick out and massage parameters for other git commands'
show-branch:'show branches and their commits'
+ verify-commit:'check GPG signature of commits'
verify-tag:'check GPG signature of tags'
whatchanged:'show commit-logs and differences they introduce')
@@ -6450,6 +6465,7 @@ __git_diff-or-merge-tools () {
vimdiff
gvimdiff
vimdiff2
+ vimdiff3
gvimdiff2
emerge
ecmerge
--
2.1.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 4/5] _git: fix typo in git-apply
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
` (3 preceding siblings ...)
2014-09-16 8:28 ` [PATCH 3/5] _git: updates for Git 2.1.0 Øystein Walle
@ 2014-09-16 8:28 ` Øystein Walle
2014-09-16 8:28 ` [PATCH 5/5] _git: add missing --3way option Øystein Walle
5 siblings, 0 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
---
Completion/Unix/Command/_git | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index d127190..fcfd3e1 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -3992,7 +3992,7 @@ _git-apply () {
'--check[check if patches are applicable (turns off "apply")]' \
'( --cached)--index[make sure that patch is applicable to index]' \
'(--index )--cached[apply patches without touching working tree]' \
- '--build-face-ancestor[build temporary index for blobs with ambiguous origin]:index:_files' \
+ '--build-fake-ancestor[build temporary index for blobs with ambiguous origin]:index:_files' \
'(-R --reverse)'{-R,--reverse}'[apply patches in reverse]' \
'-z[use NUL termination on output]' \
'--unidiff-zero[disable unified-diff-context check]' \
--
2.1.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 5/5] _git: add missing --3way option
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
` (4 preceding siblings ...)
2014-09-16 8:28 ` [PATCH 4/5] _git: fix typo in git-apply Øystein Walle
@ 2014-09-16 8:28 ` Øystein Walle
5 siblings, 0 replies; 7+ messages in thread
From: Øystein Walle @ 2014-09-16 8:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Øystein Walle
---
Completion/Unix/Command/_git | 1 +
1 file changed, 1 insertion(+)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index fcfd3e1..c4e386b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -3986,6 +3986,7 @@ _git-apply () {
_arguments -w -S -s \
$apply_options \
+ '(--index --cached --reject)'{-3,--3way}'[fall back on 3-way merge if patch fails]' \
'--stat[output diffstat for input (turns off "apply")]' \
'--numstat[same as --stat but in decimal notation and complete pathnames (turns off "apply")]' \
'--summary[output summary of git-diff extended headers (turns off "apply")]' \
--
2.1.0
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-09-16 8:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-16 8:28 [PATCH 0/5] Git coompletion updates and fixes Øystein Walle
2014-09-16 8:28 ` [PATCH] Fun! Øystein Walle
2014-09-16 8:28 ` [PATCH 1/5] _git: updates for Git 2.0.0 Øystein Walle
2014-09-16 8:28 ` [PATCH 2/5] _git: Add missing --list to git-tag Øystein Walle
2014-09-16 8:28 ` [PATCH 3/5] _git: updates for Git 2.1.0 Øystein Walle
2014-09-16 8:28 ` [PATCH 4/5] _git: fix typo in git-apply Øystein Walle
2014-09-16 8:28 ` [PATCH 5/5] _git: add missing --3way option Øystein Walle
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).