Commit Graph

60 Commits

Author SHA1 Message Date
Yehor Lvivski
87b31de266 respect GIT_DIR 2013-11-09 00:26:11 +02:00
Yehor Lvivski
5f0a11823d fix upstream 2013-11-08 02:51:47 +02:00
Yehor Lvivski
0a858c8558 remove external commands 2013-11-08 02:26:26 +02:00
Yehor Lvivski
237100e044 gix trailing tabs 2013-11-08 02:09:40 +02:00
Yehor Lvivski
6a99f86e65 remove magic 2013-11-08 02:06:11 +02:00
Yehor Lvivski
15854f6086 new structure 2013-11-08 02:01:22 +02:00
Yehor Lvivski
40b5d21fd3 fixes 2013-11-08 01:36:12 +02:00
Yehor Lvivski
11e23a2c25 super fast stash detection 2013-11-08 01:16:02 +02:00
Yehor Lvivski
babaae4d2e silent git stash 2013-11-07 20:11:40 +02:00
Yehor Lvivski
11b67218d1 limit log for faster execution 2013-11-07 19:33:53 +02:00
Yehor Lvivski
1d0a1a058c move branch detection inside condition, remove extra hash detection 2013-11-07 16:44:32 +02:00
Yehor Lvivski
bf48ddc00b better checks 2013-11-07 14:33:29 +02:00
Yehor Lvivski
19db503029 more bash magic 2013-11-07 14:21:19 +02:00
Yehor Lvivski
882aa79ebb simple 2013-11-07 12:54:40 +02:00
Yehor Lvivski
262b6ba92e [[ condition ]] is safer 2013-11-06 22:55:38 +02:00
Yehor Lvivski
5664084277 remove useless curly brackets, add quotes to fix git status grep 2013-11-06 22:30:54 +02:00
Yehor Lvivski
a6f4feeb69 duplicate 2013-11-06 22:00:33 +02:00
Yehor Lvivski
d962afb25a remove useless assignments 2013-11-06 21:59:08 +02:00
Yehor Lvivski
331e75743b Performance boost with only one git status call per prompt 2013-11-06 21:43:12 +02:00
Yehor Lvivski
9960693f08 extract colors flags and symbols 2013-11-06 17:32:06 +02:00
Yehor Lvivski
fc6dbcffb3 fix typo 2013-11-06 16:04:24 +02:00
Yehor Lvivski
7e7bb9a334 fix style 2013-11-06 15:48:23 +02:00
Yehor Lvivski
80db87d4de Remove extra spaces and add a space after detached_symbol 2013-09-23 18:10:18 +03:00
Yehor Lvivski
92e0493637 fix spacing 2013-09-23 17:48:35 +03:00
Yehor Lvivski
94bada606b Removed extra spaces and added PS2 2013-09-23 17:36:43 +03:00
Yehor Lvivski
4cc7e60f70 Fix indentation 2013-09-23 17:35:34 +03:00
Arialdo Martini
a38282d52c number_of_logs is calculated perfoming log with --pretty=oneline option. Thanks to @fcamblor 2013-09-11 20:18:35 +02:00
fcamblor
47b1a37420 Added --pretty=oneline to commit aa63017ad0
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Sun Sep 8 13:03:32 2013 +0200

    By default does not print a symbol when the correspondent flag is false

commit f2e3a20c19
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Thu Sep 5 22:12:34 2013 +0200

    tag symbol is close to tag name

commit 5818883195
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Thu Sep 5 08:29:12 2013 +0200

    It does not fire any errors when in a brand new repository

commit 7d8f4eac04
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Fri Sep 6 17:03:07 2013 +0200

    Shut up and take my money is an animated gif

commit fbd9341c64
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Fri Sep 6 15:44:54 2013 +0200

    "Known bugs" specifies the need for an unicode font

commit b135765cab
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Fri Sep 6 15:20:39 2013 +0200

    Update README.md

    README.md has "Installation", "Known bugs" and "zsh version" sections

commit 966c06ab9f
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Fri Sep 6 15:01:49 2013 +0200

    README.md has all the sample images

commit e7a7c07427
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 22:56:51 2013 +0200

    Is a git repo has a violet symbol

commit 249b717000
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 22:36:13 2013 +0200

    a star is displayed when stash list is not empty

commit 87a75f7d77
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 22:28:03 2013 +0200

    detached symbol is not overwritten

commit 475805526b
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 20:17:21 2013 +0200

    number of ahead/behind commits, should push, can fast forward and has diverged sybols are set correctly

commit 8d32b73a46
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 08:47:18 2013 +0200

    When not in a git repo, the prompt does not use two lines

commit fc42bd7a57
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 08:45:20 2013 +0200

    Has modifications cached has a nicer symbol

commit 5c0092061d
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 08:38:57 2013 +0200

    ready to commit is displayed only when no files are left to cache

commit 20e74a8159
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Wed Sep 4 08:13:30 2013 +0200

    when browsing bash history the cursor is no shifted anymore

commit d8b3c75047
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 23:35:13 2013 +0200

    tags are detected correctly

commit dd7f87d054
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 23:20:44 2013 +0200

    tag in last position; has diverged and can fast-forward work

commit bd94ce0058
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 22:02:15 2013 +0200

    the number of commits behind or ahead is correct even after a push

commit 71d2975e6a
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 19:11:22 2013 +0200

    the number of commits from or to the remote branch is correctly calculated

commit c6e25a79c0
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 18:47:06 2013 +0200

    display of tag name is optional

commit 48ccb29b25
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 18:41:00 2013 +0200

    if on a tag, it displays a symbol and the tag name

commit 05577400d6
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 09:14:58 2013 +0200

    it doesn't display an extra space if  no ahead/behind message needs to be printed

commit 745bb609f8
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 08:57:36 2013 +0200

    Shows how many commits the branch is behind or ahead its upstream

commit 9b972b6143
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 08:35:50 2013 +0200

    Symbols can be overwritten

commit a7d727b800
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 07:54:15 2013 +0200

    The prompt is displayed in two lines

commit 27f6403382
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Sep 3 07:47:52 2013 +0200

    fake Will merge, will rebase

commit a48b0acabd
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 23:27:36 2013 +0200

    Support for just initialized repositories

commit 694e1f854e
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 22:59:09 2013 +0200

    It displays added and removed files

commit f254267b28
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 20:11:54 2013 +0200

    if upstream branch has the same name as the local one, the name is omitted

commit d86af5c1e9
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 19:15:33 2013 +0200

    The upstream branch is shown

commit c397ff3c92
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 19:12:27 2013 +0200

    Using only enrich

commit 064812ae41
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 19:00:26 2013 +0200

    refactoring

commit c1fc8c0151
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 08:49:50 2013 +0200

    one-line if-then-elses

commit bb9e173fd2
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 08:31:05 2013 +0200

    Refactoring, partly working

commit e51614216b
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 00:59:21 2013 +0200

    Flags for modifications, indexed and untracked

commit 12360123b4
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Mon Sep 2 00:02:16 2013 +0200

    Displays a yellow heart if the current directory is a git repository

commit 5ad1ac07bb
Author: Arialdo Martini <arialdomartini@gmail.com>
Date:   Tue Aug 20 06:52:00 2013 -0700

    Initial commit for commits counts
2013-09-11 17:59:28 +02:00
Arialdo Martini
aa63017ad0 By default does not print a symbol when the correspondent flag is false 2013-09-08 13:08:59 +02:00
Arialdo Martini
f2e3a20c19 tag symbol is close to tag name 2013-09-08 13:08:59 +02:00
Arialdo Martini
5818883195 It does not fire any errors when in a brand new repository 2013-09-08 13:08:59 +02:00
Arialdo Martini
e7a7c07427 Is a git repo has a violet symbol 2013-09-04 22:56:51 +02:00
Arialdo Martini
249b717000 a star is displayed when stash list is not empty 2013-09-04 22:36:13 +02:00
Arialdo Martini
87a75f7d77 detached symbol is not overwritten 2013-09-04 22:28:03 +02:00
Arialdo Martini
475805526b number of ahead/behind commits, should push, can fast forward and has diverged sybols are set correctly 2013-09-04 20:17:21 +02:00
Arialdo Martini
8d32b73a46 When not in a git repo, the prompt does not use two lines 2013-09-04 08:55:49 +02:00
Arialdo Martini
fc42bd7a57 Has modifications cached has a nicer symbol 2013-09-04 08:45:20 +02:00
Arialdo Martini
5c0092061d ready to commit is displayed only when no files are left to cache 2013-09-04 08:38:57 +02:00
Arialdo Martini
20e74a8159 when browsing bash history the cursor is no shifted anymore 2013-09-04 08:13:30 +02:00
Arialdo Martini
d8b3c75047 tags are detected correctly 2013-09-03 23:35:13 +02:00
Arialdo Martini
dd7f87d054 tag in last position; has diverged and can fast-forward work 2013-09-03 23:20:48 +02:00
Arialdo Martini
bd94ce0058 the number of commits behind or ahead is correct even after a push 2013-09-03 22:02:15 +02:00
Arialdo Martini
71d2975e6a the number of commits from or to the remote branch is correctly calculated 2013-09-03 19:11:22 +02:00
Arialdo Martini
c6e25a79c0 display of tag name is optional 2013-09-03 18:47:06 +02:00
Arialdo Martini
48ccb29b25 if on a tag, it displays a symbol and the tag name 2013-09-03 18:41:00 +02:00
Arialdo Martini
05577400d6 it doesn't display an extra space if no ahead/behind message needs to be printed 2013-09-03 09:14:58 +02:00
Arialdo Martini
745bb609f8 Shows how many commits the branch is behind or ahead its upstream 2013-09-03 08:57:36 +02:00
Arialdo Martini
9b972b6143 Symbols can be overwritten 2013-09-03 08:35:50 +02:00
Arialdo Martini
a7d727b800 The prompt is displayed in two lines 2013-09-03 07:54:15 +02:00
Arialdo Martini
27f6403382 fake Will merge, will rebase 2013-09-03 07:47:52 +02:00