Skip to content

Instantly share code, notes, and snippets.

@tabrindle
Created August 9, 2018 19:48
Show Gist options
  • Save tabrindle/9bf7bd5f57f9f94081914162879515ad to your computer and use it in GitHub Desktop.
Save tabrindle/9bf7bd5f57f9f94081914162879515ad to your computer and use it in GitHub Desktop.
print insertions and deletions after git status
git() {
if [[ "$1" = "status" ]]; then
command git status;
command git --no-pager diff --shortstat HEAD
else
command git "$@"
fi
}
@tabrindle
Copy link
Author

On branch feature/SLUI-2608-refactor-events-source
Changes to be committed:
(use "git reset HEAD ..." to unstage)

modified:   packages/sl-em7-events/src/actions/actions-events.test.js
deleted:    packages/sl-em7-events/src/actions/actions-eventsInitiateFetch.test.js
modified:   packages/sl-em7-events/src/actions/events.js
modified:   packages/sl-em7-events/src/actions/events.test.js
modified:   packages/sl-em7-events/src/components/Events.jsx
modified:   packages/sl-em7-events/src/components/Events.test.js
modified:   packages/sl-em7-events/src/components/NotificationActions.jsx
modified:   packages/sl-em7-events/src/components/eventGridCard/EventAssetOwnerCard.test.js
modified:   packages/sl-em7-events/src/components/eventGridCard/EventGridCard.jsx
modified:   packages/sl-em7-events/src/components/eventGridCard/EventsGrid.jsx
modified:   packages/sl-em7-events/src/components/eventGridCard/EventsGrid.test.js
modified:   packages/sl-em7-events/src/components/eventsTable/EventsTableView.jsx
modified:   packages/sl-em7-events/src/components/eventsTable/EventsTableView.test.js
modified:   packages/sl-em7-events/src/components/eventsTopBar/EventsTopBar.jsx
modified:   packages/sl-em7-events/src/components/eventsTopBar/EventsTopBar.test.js
modified:   packages/sl-em7-events/src/components/orgRollupPanel/OrgRollupTable.jsx
modified:   packages/sl-em7-events/src/reducers/events.js
modified:   packages/sl-em7-events/src/reducers/reducers-events.test.js
modified:   packages/sl-em7-events/src/sources/events.test.js

19 files changed, 388 insertions(+), 890 deletions(-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment