File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -548,9 +548,13 @@ core.sparseCheckout::
548
548
linkgit:git-read-tree[1] for more information.
549
549
550
550
add.ignore-errors::
551
+ add.ignoreErrors::
551
552
Tells 'git add' to continue adding files when some files cannot be
552
553
added due to indexing errors. Equivalent to the '--ignore-errors'
553
- option of linkgit:git-add[1].
554
+ option of linkgit:git-add[1]. Older versions of git accept only
555
+ `add.ignore-errors`, which does not follow the usual naming
556
+ convention for configuration variables. Newer versions of git
557
+ honor `add.ignoreErrors` as well.
554
558
555
559
alias.*::
556
560
Command aliases for the linkgit:git[1] command wrapper - e.g.
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ SYNOPSIS
11
11
'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
12
12
[(-c | -C) <commit>] [-F <file> | -m <msg>] [--reset-author]
13
13
[--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>]
14
- [--date=<date>] [--cleanup=<mode>] [--status | --no-status] [--]
15
- [[ -i | -o ] <file>...]
14
+ [--date=<date>] [--cleanup=<mode>] [--status | --no-status]
15
+ [-i | -o] [--] [ <file>...]
16
16
17
17
DESCRIPTION
18
18
-----------
Original file line number Diff line number Diff line change @@ -331,7 +331,8 @@ static struct option builtin_add_options[] = {
331
331
332
332
static int add_config (const char * var , const char * value , void * cb )
333
333
{
334
- if (!strcasecmp (var , "add.ignore-errors" )) {
334
+ if (!strcasecmp (var , "add.ignoreerrors" ) ||
335
+ !strcasecmp (var , "add.ignore-errors" )) {
335
336
ignore_add_errors = git_config_bool (var , value );
336
337
return 0 ;
337
338
}
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ __git_ps1 ()
255
255
(describe)
256
256
git describe HEAD ;;
257
257
(* | default)
258
- git describe --exact-match HEAD ;;
258
+ git describe --tags -- exact-match HEAD ;;
259
259
esac 2> /dev/null) " ||
260
260
261
261
b=" $( cut -c1-7 " $g /HEAD" 2> /dev/null) ..." ||
You can’t perform that action at this time.
0 commit comments