From 1d9bca12e0e15e4348eb2d79538da800f76a933e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 21 Jan 2014 17:45:32 -0800 Subject: [PATCH] :memo: Mention that atom.project.getRepo() might be unavailable --- src/git.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/git.coffee b/src/git.coffee index f445a0caf..db5a62ce2 100644 --- a/src/git.coffee +++ b/src/git.coffee @@ -7,7 +7,8 @@ GitUtils = require 'git-utils' # Public: Represents the underlying git operations performed by Atom. # # This class shouldn't be instantiated directly but instead by accessing the -# `atom.project` global and calling `getRepo()`. +# `atom.project` global and calling `getRepo()`. Note that this will only be +# available when the project is backed by a Git repository. # # ## Example #