Comments (3)
@andreasnilsen to not break anything, perhaps add an GitHasChanges
alias that checks all places?
from cake_git.
@devlead I understand your concern, but imho that name is a bit vague, it's not intuitive to me how it relates to/differs from GitHasUncommitedChanges
(which will consider any file that is not ignored or unaltered as a change, including both unstaged and staged files), and some people are already using the existing method in the belief that it will consider all staged files. How about GitHasIndexedChanges
, which was the original name of the GitHasStagedChanges
? And maybe mark GitHasStagedChanges
for deprecation?
Or maybe give it an optional flags enum for the places as an argument, which defaults to only modified files, i.e. current the functionality?
from cake_git.
I also ran into this today when pushing to my gh-pages
branch for the first time. I've replaced it with GitHasUncommitedChanges
but this is not ideal either as this doesn't necessarily mean the changes have been staged.
from cake_git.
Related Issues (20)
- Access violation calling GitHasUncommitedChanges HOT 8
- Allow to use with Git CLI HOT 3
- Add Cake aliases to manage Git remotes
- Clone test - The type initializer for 'ManagedHttpSmartSubtransportStream' threw an exception HOT 10
- Cake Git is not working with Azure/VSTS (Error 401 : unauthorized) because of libgit2sharp Issue 1871
- Expose git describe --first-parent option
- Update Cake.Git add-in to target Cake v2.0.0
- Skip checking certificate
- Cake.Git v2.0.0 breaks IntelliSense in VS Code HOT 7
- Version 2.0.0 causes `dotnet publish` to fail HOT 1
- Simple way of getting location of devenv.exe HOT 3
- `GitLogTip` only works in git repo's root HOT 1
- `GitCommit` without name and email HOT 1
- Apple Silicon support HOT 7
- Update Cake.Git to target Cake.Core 3.0.0 and net7.0 TFM HOT 1
- Cake.Git 3.0.0 HOT 4
- Document steps to release new versions of Cake.Git
- GitHasUncommitedChanges returns true for clean repo
- AccessViolationException when calling tag.Annotation.Message
- Update to LibGit2Sharp 0.29.0
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 cake_git.