Comments (5)
While I cannot upgrade to 10.15 yet due to some software incompatibility issues I have, I believe this is most likely an error due to how the $TERM
variable is set. If you do an echo $TERM
, what does it say?
from git-quick-stats.
@windard please, what is your output of command echo $TERM
(is still relevant this issue?)
from git-quick-stats.
On macOS 10.15, I experience the following error:
$ git-quick-stats
/usr/local/bin/git-quick-stats: line 26: ${_merges,,}: bad substitution
How could I get around it? Thanks.
from git-quick-stats.
Sorry, that's a Bash 4.0-ism. OS X runs an old version of Bash, and I forgot lowercase variable expansion didn't occur until 4.0. It's not necessary, as it was meant to be a quick string sanitization effort.
To fix it, remove the two commas from that variable on lines 26 and 28.
I'll make a fix when I get some time later.
from git-quick-stats.
Given the lack of feedback from the OP on the issue with the $TERM
variable, I vote we close this as I have been unable to replicate this issue. I have tried the following on macOS 10.14:
TERM=xterm-256color
runs successfully
TERM=xterm
runs successfully
TERM=""
reports TERM environment variable not set
TERM="unknown"
reports 'unknown': I need something more specific
TERM="foo"
reports terminals database is inaccessible
The following link seems to indicate it is a macOS issue regarding corruption or an incorrectly set $TERM
variable: https://apple.stackexchange.com/questions/26662/unknown-terminal-xterm-256color
from git-quick-stats.
Related Issues (20)
- Commit lists per time only for 2 years HOT 2
- How can I exclude multiple files from the statistics? HOT 4
- [Feature Request] Sorting contribution stats HOT 1
- Only current years commits are used HOT 2
- [Feature Request] Allow _GIT_* variables to be passed as command-line args HOT 1
- Document the Default _GIT_LIMIT value
- Aggregate results based on email instead of name HOT 1
- Ignore Certain Authors HOT 1
- Pathspec for allowlist HOT 1
- [Feature request] Line changes per hour/day/month/etc.
- date does not have a '-j' in ubuntu rather than free BSD
- Count lines added deleted from Merge Commit HOT 1
- Feature Request: Add a file filter HOT 1
- 2.5.1 broken on macos HOT 4
- Broken "git commits by timezone" HOT 2
- Single stats for the same author with multiple username and/or email HOT 2
- Weird output when running none interactive mode
- Wrong output when using Changelogs by author
- test suite doesn't work when running from tarball release
- List changelogs is broken in version 2.5.4 on macos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-quick-stats.