bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/GitHubFileImpl.js
function(child, branchNameOrSha, asSha) {
			var _this = this;
			var shaValue = asSha ? branchNameOrSha : branchNameOrSha + "&path=" + child.CommitPath;
			return xhr("GET", _this._repoURL.href + "/commits?sha=" + shaValue + "&per_page=1", {//https://developer.github.com/v3/#pagination
				headers: this._headers,
				timeout: 15000
			}).then(function(result) {
				var content = JSON.parse(result.response);
				if(content.length > 0 && content[0].commit && content[0].commit.author && content[0].commit.author.date) {
					child.LocalTimeStamp = content[0].commit.author.date;
					child.LastCommit = {};
					child.LastCommit.Author = {};
					child.LastCommit.Author.Date = content[0].commit.author.date;
					child.LastCommit.Author.Name = content[0].commit.author.name ? content[0].commit.author.name : "";
					child.LastCommit.Author.Email = content[0].commit.author.email ? content[0].commit.author.email : "";
					if(content[0].commit.committer) {
						child.LastCommit.Committer = {};
						child.LastCommit.Committer.Date = content[0].commit.committer.date ? content[0].commit.committer.date : "";
						child.LastCommit.Committer.Name = content[0].commit.committer.name ? content[0].commit.committer.name : "";
						child.LastCommit.Committer.Email = content[0].commit.committer.email ? content[0].commit.committer.email : "";
					}
					child.LastCommit.Message = content[0].commit.message ? content[0].commit.message : "";
					child.LastCommit.URL = content[0].sha ? _this._commitURLBase + content[0].sha : null;
					if(use_gravatar_id && content[0].author && content[0].author.gravatar_id) {
						child.LastCommit.AvatarURL = "https://www.gravatar.com/avatar/" + content[0].author.gravatar_id + "?d=mm";
					} else 	if(content[0].author && content[0].author.avatar_url) {
						child.LastCommit.AvatarURL = content[0].author.avatar_url;
					}
				}
				return child;
			}, function(error) { return _this._handleError(error);});
		}
function(child, branchNameOrSha, asSha) {
			var _this = this;
			var shaValue = asSha ? branchNameOrSha : branchNameOrSha + "&path=" + child.CommitPath;
			return xhr("GET", _this._repoURL.href + "/commits?sha=" + shaValue + "&per_page=1", {//https://developer.github.com/v3/#pagination
				headers: this._headers,
				timeout: 15000
			}).then(function(result) {
				var content = JSON.parse(result.response);
				if(content.length > 0 && content[0].commit && content[0].commit.author && content[0].commit.author.date) {
					child.LocalTimeStamp = content[0].commit.author.date;
					child.LastCommit = {};
					child.LastCommit.Author = {};
					child.LastCommit.Author.Date = content[0].commit.author.date;
					child.LastCommit.Author.Name = content[0].commit.author.name ? content[0].commit.author.name : "";
					child.LastCommit.Author.Email = content[0].commit.author.email ? content[0].commit.author.email : "";
					if(content[0].commit.committer) {
						child.LastCommit.Committer = {};
						child.LastCommit.Committer.Date = content[0].commit.committer.date ? content[0].commit.committer.date : "";
						child.LastCommit.Committer.Name = content[0].commit.committer.name ? content[0].commit.committer.name : "";
						child.LastCommit.Committer.Email = content[0].commit.committer.email ? content[0].commit.committer.email : "";
					}
					child.LastCommit.Message = content[0].commit.message ? content[0].commit.message : "";
					child.LastCommit.URL = content[0].sha ? _this._commitURLBase + content[0].sha : null;
					if(use_gravatar_id && content[0].author && content[0].author.gravatar_id) {
						child.LastCommit.AvatarURL = "https://www.gravatar.com/avatar/" + content[0].author.gravatar_id + "?d=mm";
					} else 	if(content[0].author && content[0].author.avatar_url) {
						child.LastCommit.AvatarURL = content[0].author.avatar_url;
					}
				}
				return child;
			}, function(error) { return _this._handleError(error);});
		}
function ( child , branchNameOrSha , asSha ) { var _this = this ; var shaValue = asSha ? branchNameOrSha : branchNameOrSha + "&path=" + child . CommitPath ; return xhr ( "GET" , _this . _repoURL . href + "/commits?sha=" + shaValue + "&per_page=1" , { //https://developer.github.com/v3/#pagination headers : this . _headers , timeout : 15000 } ) . then ( function ( result ) { var content = JSON . parse ( result . response ) ; if ( content . length > 0 && content [ 0 ] . commit && content [ 0 ] . commit . author && content [ 0 ] . commit . author . date ) { child . LocalTimeStamp = content [ 0 ] . commit . author . date ; child . LastCommit = { } ; child . LastCommit . Author = { } ; child . LastCommit . Author . Date = content [ 0 ] . commit . author . date ; child . LastCommit . Author . Name = content [ 0 ] . commit . author . name ? content [ 0 ] . commit . author . name : "" ; child . LastCommit . Author . Email = content [ 0 ] . commit . author . email ? content [ 0 ] . commit . author . email : "" ; if ( content [ 0 ] . commit . committer ) { child . LastCommit . Committer = { } ; child . LastCommit . Committer . Date = content [ 0 ] . commit . committer . date ? content [ 0 ] . commit . committer . date : "" ; child . LastCommit . Committer . Name = content [ 0 ] . commit . committer . name ? content [ 0 ] . commit . committer . name : "" ; child . LastCommit . Committer . Email = content [ 0 ] . commit . committer . email ? content [ 0 ] . commit . committer . email : "" ; } child . LastCommit . Message = content [ 0 ] . commit . message ? content [ 0 ] . commit . message : "" ; child . LastCommit . URL = content [ 0 ] . sha ? _this . _commitURLBase + content [ 0 ] . sha : null ; if ( use_gravatar_id && content [ 0 ] . author && content [ 0 ] . author . gravatar_id ) { child . LastCommit . AvatarURL = "https://www.gravatar.com/avatar/" + content [ 0 ] . author . gravatar_id + "?d=mm" ; } else if ( content [ 0 ] . author && content [ 0 ] . author . avatar_url ) { child . LastCommit . AvatarURL = content [ 0 ] . author . avatar_url ; } } return child ; } , function ( error ) { return _this . _handleError ( error ) ; } ) ; }
Inject commit information to an item. The item can be either meta data or an item form the return list of fetchChildren.

CommitInfo {
Author: {Name: "string", Email: "email@addre.ss", Date: milliseconds(integer) },
Committer: {Name: "string", Email: "email@addre.ss", Date: milliseconds(integer) },
Message: "string",
URL: "string"
}
Inject commit information to an item . The item can be either meta data or an item form the return list of fetchChildren .