Git Product home page Git Product logo

git-scripts's People

Contributors

geirha avatar osse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

geirha

git-scripts's Issues

Fork some of your scripts to git-extras

Hi,

I came around your git-brv script, and quite liked it. I believe it could be promoted way more in the git-extras project which has a bigger visibility, and has already various distribution channels like homebrew (for mac users), and benefit from some integration e.g. in oh-my-zsh.

However the git-extras owner would like your permission to do so, which seems right anyway?

Issue in question tj/git-extras#770

That would be awesome if you could feed us your opinion on the matter.
Thanks a lot in advance !

git-blamediff: sha column disappears when piping with --color

~/c/testonly.nvim % git blamediff --color
diff --git i/lua/testonly.lua w/lua/testonly.lua
index 7c23cbd..3107fca 100644
--- i/lua/testonly.lua
+++ w/lua/testonly.lua
@@ -69,6 +69,7 @@ local function reset_all_exclusive()
ebb2d1f                         if child then
ebb2d1f                                 local text = vim.treesitter.get_node_text(child, bufnr)
ebb2d1f                                 if text == "it.only" or text == "describe.only" then
0000000 +                                       print("foo")
9a909ad                                         local start_row, _, end_row, _ = node:range()
9a909ad                                         vim.api.nvim_buf_set_text(bufnr, start_row, 0, end_row, 0, { "it", "describe" })
ebb2d1f                                  end
~/c/testonly.nvim % git blamediff --color | cat
diff --git i/lua/testonly.lua w/lua/testonly.lua
index 7c23cbd..3107fca 100644
--- i/lua/testonly.lua
+++ w/lua/testonly.lua
@@ -69,6 +69,7 @@ local function reset_all_exclusive()
                        if child then
                                local text = vim.treesitter.get_node_text(child, bufnr)
                                if text == "it.only" or text == "describe.only" then
+                                       print("foo")
                                        local start_row, _, end_row, _ = node:range()
                                        vim.api.nvim_buf_set_text(bufnr, start_row, 0, end_row, 0, { "it", "describe" })
                                end

Also, git blamediff | cat gives git-blamediff:print:80: bad option: - but works.

% git blamediff | cat
diff --git i/lua/testonly.lua w/lua/testonly.lua
index 7c23cbd..3107fca 100644
 /Users/raine/bin/git-blamediff:print:80: bad option: -
+++ w/lua/testonly.lua
@@ -69,6 +69,7 @@ local function reset_all_exclusive()
ebb2d1f                         if child then
ebb2d1f                                 local text = vim.treesitter.get_node_text(child, bufnr)
ebb2d1f                                 if text == "it.only" or text == "describe.only" then
0000000 +                                       print("foo")
9a909ad                                         local start_row, _, end_row, _ = node:range()
9a909ad                                         vim.api.nvim_buf_set_text(bufnr, start_row, 0, end_row, 0, { "it", "describe" })
ebb2d1f                                 end

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.