Giter Site home page Giter Site logo

Comments (8)

hallzy avatar hallzy commented on July 20, 2024

Do you have anything stashed? There was something added that does something like that to track stashes, except that the character is supposed to be 3 horizontal lines.

If it is a stash not sure how to fix it since I don't use osx.

from git-radar.

thomasdziedzic avatar thomasdziedzic commented on July 20, 2024

yes, I had a stash, after clearing it with git stash clear, it worked!

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

That's a little worrying. The stash icon is unicode ≡ (indentical to). We had presumed most terminals would support it. What terminal emulator do you use and which version of bash?

from git-radar.

thomasdziedzic avatar thomasdziedzic commented on July 20, 2024

I use iTerm (with tmux sometimes).

$ bash --version
GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

from git-radar.

ctrlrsf avatar ctrlrsf commented on July 20, 2024

Seeing this as well in Terminal, iTerm, and xterm running under XQuartz. Suspect it started after installing latest OS X update (10.11.1) this morning. Release notes mention: Adds over 150 new emoji characters with full Unicode 7.0 and 8.0 support.

https://support.apple.com/en-us/HT205360

image

from git-radar.

ctrlrsf avatar ctrlrsf commented on July 20, 2024

Just want to confirm git stash clear gets rid of the ??'s, and running git stash after making local changes brings them back.

from git-radar.

c5f avatar c5f commented on July 20, 2024

I fixed this on my local system by calling printf on the congruency/equivalency character in radar-base.sh:542:

printf $PRINT_F_OPTION "$number_stashes$COLOR_STASH`printf ≡`$RESET_COLOR_STASH"

Original:

printf $PRINT_F_OPTION "$number_stashes$COLOR_STASH$RESET_COLOR_STASH"

I'm still running Yosemite so it is not an El Capitan-specific issue. This is a dumb hacky fix that I pulled from surrounding code because I didn't feel like learning the bash way to do it - please don't judgy. 🍻

This leads me to believe that the unicode character is conflicting with either color escape sequences or is being gobbled up into the environment variable. Colors still work on local changes which follow the stash changes, so $RESET_COLOR_STASH is working properly.


This change fixes stash symbol rendering for iTerm2.app build 2.1.4 and Terminal.app Version 2.5.3 (343.7) on OS X 10.10.5 (14F1021).

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

This should be fixed now thanks to @matthillman pull #90. Closing.

from git-radar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.