aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/completion/git-prompt.sh
AgeCommit message (Expand)AuthorFilesLines
2024-04-01completion: protect prompt against unset SHOWUPSTREAM in nounset modeVille Skyttä1-1/+1
2024-04-01completion: fix prompt with unset SHOWCONFLICTSTATE in nounset modeVille Skyttä1-1/+1
2024-01-08git-prompt: stop manually parsing HEAD with unknown ref formatsPatrick Steinhardt1-7/+24
2023-05-02Merge branch 'ek/completion-use-read-r-to-read-literally'Junio C Hamano1-1/+1
2023-04-20completion: suppress unwanted unescaping of `read`Edwin Kofler1-1/+1
2023-03-16completion: prompt: use generic colorsFelipe Contreras1-12/+7
2022-08-19git-prompt: show presence of unresolved conflicts at command promptJustin Donnelly1-1/+11
2022-06-10git-prompt: fix expansion of branch colour codesJoakim Petersen1-6/+6
2022-06-07git-prompt: make colourization consistentJoakim Petersen1-10/+12
2022-03-23git-prompt: put upstream comments togetherJustin Donnelly1-5/+5
2022-03-23git-prompt: make long upstream state indicator consistentJustin Donnelly1-5/+5
2022-03-23git-prompt: make upstream state indicator location consistentJustin Donnelly1-12/+13
2022-03-23git-prompt: rename `upstream` to `upstream_type`Justin Donnelly1-13/+13
2021-05-13git-prompt: work under set -uElijah Newren1-3/+3
2020-11-11Merge branch 'sd/prompt-local-variable'Junio C Hamano1-0/+1
2020-11-01git-prompt.sh: localize `option` in __git_ps1_show_upstreamSibo Dong1-0/+1
2020-10-28completion: prompt: fix color for ZshFelipe Contreras1-4/+7
2020-07-20git-prompt: change == to = for zsh's sakeDavid J. Malan1-2/+2
2020-06-22git-prompt: include sparsity state as wellElijah Newren1-2/+20
2020-06-22git-prompt: document how in-progress operations affect the promptElijah Newren1-0/+4
2020-02-16git-prompt: change the prompt for interactive-based rebasesElijah Newren1-5/+1
2019-07-01git-prompt: improve cherry-pick/revert detectionPhillip Wood1-4/+33
2017-12-06git-prompt: fix reading files with windows line endingsRobert Abel1-1/+1
2017-12-06git-prompt: make __git_eread intended use explicitRobert Abel1-3/+4
2017-03-15git-prompt: add a describe style for any tagsMichael J Gruber1-0/+3
2016-06-27Merge branch 'vs/prompt-avoid-unset-variable'Junio C Hamano1-3/+3
2016-06-06git-prompt.sh: Don't error on null ${ZSH,BASH}_VERSION, $short_shaVille Skyttä1-3/+3
2015-11-24bash prompt: indicate dirty index even on orphan branchesSZEDER Gábor1-3/+2
2015-11-24bash prompt: remove a redundant 'git diff' optionSZEDER Gábor1-1/+1
2015-07-20bash prompt: faster untracked status indicator with untracked directoriesSZEDER Gábor1-1/+1
2015-07-15Merge branch 'jc/prompt-document-ps1-state-separator' into maintJunio C Hamano1-0/+4
2015-07-01Merge branch 'jc/prompt-document-ps1-state-separator'Junio C Hamano1-0/+4
2015-06-10git-prompt.sh: document GIT_PS1_STATESEPARATORJoe Cridge1-0/+4
2015-03-25Merge branch 'ct/prompt-untracked-fix'Junio C Hamano1-1/+1
2015-03-15git prompt: use toplevel to find untracked filesCody A Taylor1-1/+1
2015-01-14Merge branch 'tf/prompt-preserve-exit-status'Junio C Hamano1-5/+5
2015-01-14Merge branch 'rh/hide-prompt-in-ignored-directory'Junio C Hamano1-7/+17
2015-01-14git-prompt: preserve value of $? in all casesTony Finch1-4/+4
2015-01-07Merge branch 'tf/prompt-preserve-exit-status'Junio C Hamano1-0/+4
2015-01-07git-prompt.sh: allow to hide prompt for ignored pwdJess Austin1-0/+13
2015-01-07git-prompt.sh: if pc mode, immediately set PS1 to a plain promptRichard Hansen1-7/+4
2014-12-22Merge branch 'jg/prompt-localize-temporary'Junio C Hamano1-1/+1
2014-12-22git-prompt: preserve value of $? inside shell promptTony Finch1-0/+4
2014-12-12git-prompt.sh: make $f local to __git_eread()Justin Guenther1-1/+1
2014-08-25git-prompt: do not look for refs/stash in $GIT_DIRJeff King1-1/+2
2014-05-19Merge branch 'rh/prompt-pcmode-avoid-eval-on-refname'Junio C Hamano1-17/+39
2014-05-19git-prompt.sh: don't assume the shell expands the value of PS1Richard Hansen1-17/+39
2014-05-13Merge branch 'fc/prompt-zsh-read-from-file'Junio C Hamano1-8/+8
2014-05-13contrib: completion: fix 'eread()' namespaceFelipe Contreras1-8/+8
2014-05-02Merge branch 'rh/prompt-pcmode-avoid-eval-on-refname'Junio C Hamano1-2/+32
2014-04-22git-prompt.sh: don't put unsanitized branch names in $PS1Richard Hansen1-2/+32
2014-04-14prompt: fix missing file errors in zshFelipe Contreras1-7/+14
2013-10-28Merge branch 'sg/prompt-svn-remote-fix'Junio C Hamano1-1/+1
2013-10-15bash prompt: don't use '+=' operator in show upstream code pathSZEDER Gábor1-1/+1
2013-10-14git-prompt.sh: optionally show upstream branch nameJulien Carsique1-1/+6
2013-08-22contrib/git-prompt.sh: handle missing 'printf -v' more gracefullyBrandon Casey1-1/+5
2013-07-01Merge branch 'ed/color-prompt'Junio C Hamano1-70/+41
2013-06-26git-prompt.sh: add missing information in commentsEduardo R. D'Avila1-11/+15
2013-06-26git-prompt.sh: do not print duplicate clean color codeEduardo R. D'Avila1-1/+1
2013-06-26git-prompt.sh: refactor colored prompt codeEduardo R. D'Avila1-59/+26
2013-06-24bash prompt: mention that PROMPT_COMMAND mode is fasterSZEDER Gábor1-5/+5
2013-06-24bash prompt: avoid command substitution when finalizing gitstringSZEDER Gábor1-1/+5
2013-06-24bash prompt: avoid command substitution when checking for untracked filesSZEDER Gábor1-1/+1
2013-06-24bash prompt: use bash builtins to check stash stateSZEDER Gábor1-2/+3
2013-06-24bash prompt: use bash builtins to check for unborn branch for dirty stateSZEDER Gábor1-1/+1
2013-06-24bash prompt: combine 'git rev-parse' for detached headSZEDER Gábor1-4/+12
2013-06-24bash prompt: combine 'git rev-parse' executions in the main code pathSZEDER Gábor1-5/+13
2013-06-24bash prompt: use bash builtins to find out current branchSZEDER Gábor1-18/+33
2013-06-24bash prompt: use bash builtins to find out rebase stateSZEDER Gábor1-6/+6
2013-06-24bash prompt: run 'git rev-parse --git-dir' directly instead of __gitdir()SZEDER Gábor1-25/+1
2013-06-24bash prompt: return early from __git_ps1() when not in a git repositorySZEDER Gábor1-100/+101
2013-06-24bash prompt: print unique detached HEAD abbreviated object nameSZEDER Gábor1-1/+1
2013-06-14prompt: squelch error output from catRamkumar Ramachandra1-6/+6
2013-06-06Merge branch 'fc/show-branch-in-rebase-am'Junio C Hamano1-0/+2
2013-06-05Merge branch 'tg/maint-zsh-svn-remote-prompt'Junio C Hamano1-3/+4
2013-05-29prompt: fix for simple rebaseFelipe Contreras1-0/+2
2013-05-22prompt: fix show upstream with svn and zshThomas Gummerer1-3/+4
2013-05-17prompt: colorize ZSH promptRamkumar Ramachandra1-1/+39
2013-05-17prompt: factor out gitstring coloring logicRamkumar Ramachandra1-36/+43
2013-05-17prompt: introduce GIT_PS1_STATESEPARATORRamkumar Ramachandra1-3/+4
2013-05-01Merge branch 'zk/prompt-rebase-step'Junio C Hamano1-5/+16
2013-04-26Merge branch 'fc/untracked-zsh-prompt' into maintJunio C Hamano1-1/+1
2013-04-25bash-prompt.sh: show where rebase is at when stoppedZoltan Klinger1-5/+16
2013-04-23Merge branch 'fc/untracked-zsh-prompt'Junio C Hamano1-1/+1
2013-04-21prompt: fix untracked files for zshFelipe Contreras1-1/+1
2013-03-31bash: teach __git_ps1 about REVERT_HEADRobin Rosenberg1-0/+2
2013-02-18shell-prompt: clean up nested if-thenMartin Erik Werner1-14/+13
2013-02-13shell prompt: add bash.showUntrackedFiles optionMartin Erik Werner1-3/+8
2012-12-27Merge branch 'so/prompt-command'Junio C Hamano1-12/+20
2012-12-26make __git_ps1 accept a third parameter in pcmodeSimon Oosthoek1-12/+20
2012-12-12Merge branch 'so/prompt-command'Junio C Hamano1-5/+11
2012-12-12git-prompt.sh: update PROMPT_COMMAND documentationJunio C Hamano1-5/+11
2012-12-11Merge branch 'maint'Junio C Hamano1-1/+10
2012-12-11git-prompt: Document GIT_PS1_DESCRIBE_STYLEAnders Kaseorg1-0/+9
2012-10-17coloured git-prompt: paint detached HEAD marker in redJunio C Hamano1-1/+1
2012-10-16Fix up colored git-promptSimon Oosthoek1-23/+32
2012-10-11show color hints based on state of the git treeSimon Oosthoek1-1/+35
2012-10-11Allow __git_ps1 to be used in PROMPT_COMMANDSimon Oosthoek1-6/+45
2012-09-24Improve the description of GIT_PS1_SHOWUPSTREAMJonathan "Duke" Leto1-3/+4
2012-06-10completion: warn people about duplicated functionJunio C Hamano1-0/+2
2012-05-22completion: split __git_ps1 into a separate scriptFelipe Contreras1-0/+287