git-diff Documentation

Lock: Diff markers in Atom's gutter

0 stars JavaScript JavaScript 1 file ยท ~1,406 tokens
RAW Doc

File: README.md

This Repo is Archived under Pulsar-Edit due to being bundled with the Editor.

Git Diff package

This package is now a part of the [core Atom repository](https://github.com/atom/atom/tree/master/packages/git-diff), please direct all issues and pull requests there in the future!


Marks lines in the editor gutter that have been added, edited, or deleted since the last commit.

  • alt-g up to move the cursor to the previous diff in the editor
  • alt-g down to move the cursor to the next diff in the editor

File: appveyor.yml

version: "{build}"

platform: x64

branches:
only:
- master

clone_depth: 10

skip_tags: true

environment:
APM_TEST_PACKAGES:

matrix:

  • ATOM_CHANNEL: stable
  • ATOM_CHANNEL: beta

install:

  • ps: Install-Product node 4

build_script:

test: off
deploy: off


File: CONTRIBUTING.md

See the Atom contributing guide


File: ISSUE_TEMPLATE.md

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.


File: LICENSE.md

Copyright (c) 2014 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


File: package.json

{
"name": "git-diff",
"version": "1.3.9",
"main": "./lib/main",
"description": "Marks lines in the editor gutter that have been added, edited, or deleted since the last commit.",
"repository": "https://github.com/atom/git-diff",
"license": "MIT",
"engines": {
"atom": "*"
},
"dependencies": {
"atom-select-list": "^0.7.0",
"fs-plus": "^3.0.0",
"temp": "~0.8.1"
},
"devDependencies": {
"standard": "^11.0.0"
},
"standard": {
"ignore": [
"spec/fixtures/working-dir/sample.js"
],
"env": {
"atomtest": true,
"browser": true,
"jasmine": true,
"node": true
},
"globals": [
"atom",
"snapshotResult"
]
},
"configSchema": {
"showIconsInEditorGutter": {
"type": "boolean",
"default": false,
"description": "Show colored icons for added (+), modified (ยท) and removed (-) lines in the editor's gutter, instead of colored markers (|)."
},
"wrapAroundOnMoveToDiff": {
"type": "boolean",
"default": true,
"description": "Wraps around to the first/last diff in the file when moving to next/previous diff."
}
}
}


File: PULL_REQUEST_TEMPLATE.md

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Alternate Designs

Benefits

Possible Drawbacks

Applicable Issues


File: .travis.yml

language: objective-c

notifications:
email:
on_success: never
on_failure: change

script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'

branches:
only:
- master


File: spec/fixtures/working-dir/sample.txt

Some text.