Commit Graph

42 Commits (fb89173a4257e0cfe3bfc772bc0cdbccd61e3be0)
 

Author SHA1 Message Date
Roman Perepelitsa fb89173a42 Squashed 'gitstatus/' changes from 313fa4f1..1dcba393
1dcba393 bash bindings: provide better diagnostic for the common errors in gitstatus_start
603fb2ce move the rosetta check to `install`
3829edac provide better diagnostic for the common errors in gitstatus_start
e8c9d9cd propagate error messages from install to gitstatus_start; add a special diagnostic for rosetta2

git-subtree-dir: gitstatus
git-subtree-split: 1dcba3930654c54976f112b96acf2ce23006d9e5
4 years ago
Roman Perepelitsa 98b96e06cc Squashed 'gitstatus/' changes from ae213c54..313fa4f1
313fa4f1 make target pkg work with `make -C`

git-subtree-dir: gitstatus
git-subtree-split: 313fa4f1bfabe99a04027d0bdf6cbecff2e963c7
4 years ago
Roman Perepelitsa 39cf063480 Squashed 'gitstatus/' changes from 90cbb46b..ae213c54
ae213c54 add "pkg" target to makefile
a208375b comments
cdeb063d Give ListDir() the same semantics on BSD as on Linux

git-subtree-dir: gitstatus
git-subtree-split: ae213c540dd6924d3fb153a0860276897c9ba6c8
4 years ago
Roman Perepelitsa 28301be914 Squashed 'gitstatus/' changes from cb363c77..90cbb46b
90cbb46b s/darwin-aarch64/darwin-arm64/ (#188)

git-subtree-dir: gitstatus
git-subtree-split: 90cbb46b7b185dc95ab96301ec49754f7e801395
4 years ago
Roman Perepelitsa 790f4719ab Squashed 'gitstatus/' changes from f9acc15a..cb363c77
cb363c77 build: use zsh if possible when langued with bash < 4.0 (#188)
efb0fd1b make mbuild work with darwin-aarch64
c9e6e608 do not hardcode path to homebrew, retrieve it with `brew --prefix`
df4eba94 work around bugs in ancient versions of bash (#188)

git-subtree-dir: gitstatus
git-subtree-split: cb363c778a37575b0d5371d7e355d80ec7ae5498
4 years ago
Roman Perepelitsa b7167a64c6 Squashed 'gitstatus/' changes from 4f9746fb..f9acc15a
f9acc15a use gitstatusd-darwin-x86_64 binary on darwin-aarch64 (#188)

git-subtree-dir: gitstatus
git-subtree-split: f9acc15a3aa224206c4eba0e4a26b5d3c00325be
4 years ago
Roman Perepelitsa d86bbe75de Squashed 'gitstatus/' changes from 6ba954a4..4f9746fb
4f9746fb rebuild all binaries
6a3d54a5 upgrade libgit2

git-subtree-dir: gitstatus
git-subtree-split: 4f9746fb6e949475ff37986883796adf937055da
4 years ago
Roman Perepelitsa 0da94e8ef1 Squashed 'gitstatus/' changes from a760bda8..6ba954a4
6ba954a4 make lowercasing work with Turkish locale

git-subtree-dir: gitstatus
git-subtree-split: 6ba954a4a6fb2b86e7d10b4b19db7757b4876525
4 years ago
Roman Perepelitsa 760f7cb7a5 Squashed 'gitstatus/' changes from 3f874d9c..a760bda8
a760bda8 disable certificate checks in curl; we are checking sha256 anyway

git-subtree-dir: gitstatus
git-subtree-split: a760bda882be6e79a5ff0ab0ccc0e576781dca7a
4 years ago
Roman Perepelitsa f63d6a31c1 Squashed 'gitstatus/' changes from fcebf0b0..3f874d9c
3f874d9c fix bash bindings when noclobber is set; see #171

git-subtree-dir: gitstatus
git-subtree-split: 3f874d9c5933d184b9b06472dcf25e8debb326a8
4 years ago
Roman Perepelitsa cb59280c40 Squashed 'gitstatus/' changes from b157d02a..fcebf0b0
fcebf0b0 support armv8l; see #165; thanks, @ppoffice!
c2e03bc5 use fully-qualified remote ref name; see powerlevel10k/issues/915
dc827169 Merge branch 'master' of github.com:romkatv/gitstatus
4ad671ca build: set -march=armv8 when compiling for Apple's arm64 architecture

git-subtree-dir: gitstatus
git-subtree-split: fcebf0b0f7aff181f2ecc441458d8fc443125ad0
4 years ago
Roman Perepelitsa 15818346bf Squashed 'gitstatus/' changes from 7546f4de..b157d02a
b157d02a treat exit code 159 (SIGSYS) from gistatusd as terminal

git-subtree-dir: gitstatus
git-subtree-split: b157d02a9a89892f228064e06b5a817a24eea9ed
4 years ago
Roman Perepelitsa bf2aa14bec Squashed 'gitstatus/' changes from 89e9ebfd..7546f4de
7546f4de return norepo-sync when cwd does not exist
8ccd4d34 comments

git-subtree-dir: gitstatus
git-subtree-split: 7546f4def34558e44ee660a9970da80f760e99c8
4 years ago
Roman Perepelitsa ff8654ccd5 Squashed 'gitstatus/' changes from 0f5402c8..89e9ebfd
89e9ebfd survive zsh environments where `source` is a broken function

git-subtree-dir: gitstatus
git-subtree-split: 89e9ebfd59f5ddfea4d97ae1e510273415a57a51
4 years ago
Roman Perepelitsa eadfdba707 Squashed 'gitstatus/' changes from 0d23fbd1..0f5402c8
0f5402c8 bug fix: properly propagate switches to gitstatusd

git-subtree-dir: gitstatus
git-subtree-split: 0f5402c8686a593cd21b95ade28a154dd51749bb
4 years ago
Roman Perepelitsa 0717e57ff4 Squashed 'gitstatus/' changes from 1c74c8db..0d23fbd1
0d23fbd1 comments
9c19c9c4 fix a typo in install that prevents the locally built gitstatusd from being used
92fd143f doc cleanup

git-subtree-dir: gitstatus
git-subtree-split: 0d23fbd117ad6afe52fdbd96d08cf38f941be4d3
4 years ago
Roman Perepelitsa b015817892 Squashed 'gitstatus/' changes from 38d62a47..1c74c8db
1c74c8db add linux-ppc64le
968779b5 fix tar invocation
300f657c create anonymous tar archives
a5581d18 force C locale during build (perl complains)
2616cd47 support downloads to usrbin
1e6075dd enable static linking on linux
2975d25f update libgit2 ref
bea6f868 add ppc64le target

git-subtree-dir: gitstatus
git-subtree-split: 1c74c8db0f422aa6f95ced878351e0c6944a9bd6
4 years ago
Roman Perepelitsa fa2e337cbd Squashed 'gitstatus/' changes from 3050dfca8..38d62a475
38d62a475 fix gitstatus on older zsh versions

git-subtree-dir: gitstatus
git-subtree-split: 38d62a475fadf5f8d418fc772d680ba234ba8609
4 years ago
Roman Perepelitsa a3c1b7164b Squashed 'gitstatus/' changes from 830aaa999..3050dfca8
3050dfca8 add `command` in front of commands

git-subtree-dir: gitstatus
git-subtree-split: 3050dfca875a8070aaa0dc890afcc756574078c6
4 years ago
Roman Perepelitsa b93f9663c5 Squashed 'gitstatus/' changes from ec9c39499..830aaa999
830aaa999 try wget without --no-config if it fails with

git-subtree-dir: gitstatus
git-subtree-split: 830aaa99976c0f5addedf336414f9bf82e2699d6
4 years ago
Roman Perepelitsa 54c9822834 Squashed 'gitstatus/' changes from 643091154..ec9c39499
ec9c39499 don't download gitstatusd if there is a bad version in usrbin

git-subtree-dir: gitstatus
git-subtree-split: ec9c39499a96ea8b181db15c76df5089959d3111
4 years ago
Roman Perepelitsa 9fd719c834 Squashed 'gitstatus/' changes from a827370d7..643091154
643091154 suppress rc files for curl and wget; see #146

git-subtree-dir: gitstatus
git-subtree-split: 6430911548516bd9bb0e4a5088993302d45cc499
5 years ago
Roman Perepelitsa 62c0a12a10 Squashed 'gitstatus/' changes from ab1aea155..a827370d7
a827370d7 suppress error message from redirect

git-subtree-dir: gitstatus
git-subtree-split: a827370d7f11f6e6aac4a044efaef6a99ab1f1f4
5 years ago
Roman Perepelitsa 094d1b3a47 Squashed 'gitstatus/' changes from 45489634e..ab1aea155
ab1aea155 remove "this command failed" message; it makes users to post truncated messages that are useless for debugging

git-subtree-dir: gitstatus
git-subtree-split: ab1aea155f051ecab8b70154f136eef81976dd25
5 years ago
romkatv 86d980cdb5 Squashed 'gitstatus/' changes from be42ea1be..45489634e
45489634e check for cygwin via OSTYPE

git-subtree-dir: gitstatus
git-subtree-split: 45489634e1b9a2a11fc8dc94482516142d61a9c8
5 years ago
romkatv 102aefadab Squashed 'gitstatus/' changes from 331e9ff65..be42ea1be
be42ea1be support split gitstatusd release binaries

git-subtree-dir: gitstatus
git-subtree-split: be42ea1be4a7938464aea568d719bf4c01e4b1f4
5 years ago
romkatv 6696212dde Squashed 'gitstatus/' changes from cc956ca78..331e9ff65
331e9ff65 docs: remove packaging instructions and instead discourage it
c1fff558c install: add a link to #compiling docs if no gitstatusd is found
8632b85ab build: use extra optimization and hardening flags
c0a71c757 mbuild: don't stop on first failure
52e0359ec build: don't link statically when doing a local linux build

git-subtree-dir: gitstatus
git-subtree-split: 331e9ff65df96e7423c0b7a01e5e98d6c6b7d428
5 years ago
romkatv 9a4bbcd930 Squashed 'gitstatus/' changes from 0127fd26a..cc956ca78
cc956ca78 interrupt p10k instant prompt before printing "gitstatus failed to initialize" error
db3603bc8 improve "gitstatus failed to initialize" error message
e164594ea work around bugs in cygwin
55af96ade cleanup + todo
0e70dbc56 add an empty line before the error message

git-subtree-dir: gitstatus
git-subtree-split: cc956ca7878ef6d00bb1f35861864d0a40ffac75
5 years ago
romkatv ee44f9e112 Squashed 'gitstatus/' changes from 063ed450..0127fd26
0127fd26 set user.name in the test git repo
00564e95 Merge pull request #135 from Aloxaf/Aloxaf-patch-1
6003278c build: no gpg sign

git-subtree-dir: gitstatus
git-subtree-split: 0127fd26a0d102cc5d5b2b10e511fa99138d78e3
5 years ago
romkatv 8cfe934f15 Squashed 'gitstatus/' changes from 78a2ec25..063ed450
063ed450 Revert "close p10k instant prompt descriptors in daemon"

git-subtree-dir: gitstatus
git-subtree-split: 063ed45083386c98ab4d10f08794bec2a0c534d1
5 years ago
romkatv 00cfdb48a8 Squashed 'gitstatus/' changes from c99d28aa..78a2ec25
78a2ec25 close p10k instant prompt descriptors in daemon

git-subtree-dir: gitstatus
git-subtree-split: 78a2ec251e99ffa48ea10bbb48ab54ba6401701c
5 years ago
romkatv f3ae4032c1 Squashed 'gitstatus/' changes from 4c1b9564..c99d28aa
c99d28aa block SIGINT in zle callback when being used from p10k
f52fd5b5 wrap most of gitstatus_start code in `{..} always {...}` to handle SIGINT properly
e4e88a5a mention that gitstatus can be cloned from gitee.com

git-subtree-dir: gitstatus
git-subtree-split: c99d28aa6be9db6f78c99c3f56626f2afcc3a466
5 years ago
romkatv ff18dbaf74 Squashed 'gitstatus/' changes from caf5bfd3..4c1b9564
4c1b9564 Merge pull request #128 from carlosedp/arch
1d2816f2 Add support to build on ppc64le and riscv64 archs
5614639c update version in packaging instructions
d728a1da add homebrew installation instructions; fixed #118

git-subtree-dir: gitstatus
git-subtree-split: 4c1b95643bc78dfe8e4d9566823b72881637c2ef
5 years ago
romkatv 46c76dd707 Squashed 'gitstatus/' changes from 1a80249d..caf5bfd3
caf5bfd3 update build instructions
8bbfd153 update build instructions

git-subtree-dir: gitstatus
git-subtree-split: caf5bfd3d4b6099aeed13604936976e610a08e18
5 years ago
romkatv a6009c74a9 Squashed 'gitstatus/' changes from f81313e2..1a80249d
1a80249d build: verify libgit2 tarball sha256
74c3d56f bash: call mktemp only once and avoid `mktemp -u`
b139dec4 install: use mktemp if available
9f594d24 bash: block SIGQUIT and SIGTSTP in daemon
73f47ea3 add sha256 verification for downloaded gitstatusd; enable gitee mirror

git-subtree-dir: gitstatus
git-subtree-split: 1a80249d2b6a53fd076ae846f8fcc501183ca5a5
5 years ago
romkatv d23b2c3792 Squashed 'gitstatus/' changes from 901c366b..f81313e2
f81313e2 move gitee disable higher
8cfb83f3 print [ok] after download when stderr is not tty
d185a2ab disable gitee mirror until there is sha256 verification in place
fb88a401 show progress when downloading gitstatusd
ae988158 add a mirror for gitstatusd release files
c673d327 disable aliases before calling zcompile

git-subtree-dir: gitstatus
git-subtree-split: f81313e27271ee1fb3fd22b8e72382e9516776ef
5 years ago
romkatv bda74564e3 Squashed 'gitstatus/' changes from d3bc3e34..901c366b
901c366b survive `cd` being a function that fails instead of doing its job; see #123

git-subtree-dir: gitstatus
git-subtree-split: 901c366b8ecb736e579784b132442ee51bcb0840
5 years ago
romkatv 1db7094966 Squashed 'gitstatus/' changes from cd5673b4..d3bc3e34
d3bc3e34 work around bugs in curl on cygwin; see #706
61a67c66 print error message from curl/wget before the summary

git-subtree-dir: gitstatus
git-subtree-split: d3bc3e346cc71ee1a29d0c4316449feb3dcb3116
5 years ago
romkatv d047ed87a1 Squashed 'gitstatus/' changes from 6a4f0fc0..cd5673b4
cd5673b4 increase default gitstatus_start timeout from 5s to 30s

git-subtree-dir: gitstatus
git-subtree-split: cd5673b4971bf1a6d9aa8d57963e954e619b950e
5 years ago
romkatv bc85e46f8b Squashed 'gitstatus/' changes from 32b7b674..6a4f0fc0
6a4f0fc0 add missing \n in error messages
d2fd0166 update build instructions

git-subtree-dir: gitstatus
git-subtree-split: 6a4f0fc0cadc214bbe4051bf87d87033558aeed8
5 years ago
romkatv 0acaefe57f Squashed 'gitstatus/' changes from 6b9ba17..32b7b67
32b7b67 silly typo bug dammit!

git-subtree-dir: gitstatus
git-subtree-split: 32b7b674326b109bbe639d6dc662ede2d4df3ad2
5 years ago
romkatv 1531d6e543 Squashed 'gitstatus/' content from commit 6b9ba17
git-subtree-dir: gitstatus
git-subtree-split: 6b9ba179c6655286c4c399e7926d5098dd6bd706
5 years ago