mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-16 15:51:01 +02:00
rebuild for Issue #111
This commit is contained in:
parent
a95a56241b
commit
2be03a7f1c
4 changed files with 27 additions and 23 deletions
|
@ -8272,11 +8272,9 @@ GitEngine.prototype.fakeTeamworkStarter = function() {
|
|||
}
|
||||
|
||||
this.validateArgBounds(this.generalArgs, 0, 2);
|
||||
// ugly command line arg parsing
|
||||
var branch = this.generalArgs[0] || 'master';
|
||||
if (!this.origin.refs[branch]) {
|
||||
branch = 'master';
|
||||
}
|
||||
// allow formats of: git Faketeamwork 2 or git Faketeamwork side 3
|
||||
var branch = (this.origin.refs[this.generalArgs[0]]) ?
|
||||
this.generalArgs[0] : 'master';
|
||||
var numToMake = parseInt(this.generalArgs[0], 10) || this.generalArgs[1] || 1;
|
||||
|
||||
// make sure its a branch and exists
|
||||
|
@ -15274,12 +15272,15 @@ HeadlessGit.prototype.sendCommand = function(value, entireCommandPromise) {
|
|||
var startTime = new Date().getTime();
|
||||
|
||||
util.splitTextCommand(value, function(commandStr) {
|
||||
chain = chain.then(_.bind(function() {
|
||||
var commandObj = new Command({
|
||||
rawStr: commandStr
|
||||
});
|
||||
|
||||
var thisDeferred = Q.defer();
|
||||
this.gitEngine.dispatch(commandObj, thisDeferred);
|
||||
chain = chain.then(thisDeferred.promise);
|
||||
return thisDeferred.promise;
|
||||
}, this));
|
||||
}, this);
|
||||
|
||||
chain.then(function() {
|
||||
|
@ -23663,12 +23664,15 @@ HeadlessGit.prototype.sendCommand = function(value, entireCommandPromise) {
|
|||
var startTime = new Date().getTime();
|
||||
|
||||
util.splitTextCommand(value, function(commandStr) {
|
||||
chain = chain.then(_.bind(function() {
|
||||
var commandObj = new Command({
|
||||
rawStr: commandStr
|
||||
});
|
||||
|
||||
var thisDeferred = Q.defer();
|
||||
this.gitEngine.dispatch(commandObj, thisDeferred);
|
||||
chain = chain.then(thisDeferred.promise);
|
||||
return thisDeferred.promise;
|
||||
}, this));
|
||||
}, this);
|
||||
|
||||
chain.then(function() {
|
||||
|
@ -24832,11 +24836,9 @@ GitEngine.prototype.fakeTeamworkStarter = function() {
|
|||
}
|
||||
|
||||
this.validateArgBounds(this.generalArgs, 0, 2);
|
||||
// ugly command line arg parsing
|
||||
var branch = this.generalArgs[0] || 'master';
|
||||
if (!this.origin.refs[branch]) {
|
||||
branch = 'master';
|
||||
}
|
||||
// allow formats of: git Faketeamwork 2 or git Faketeamwork side 3
|
||||
var branch = (this.origin.refs[this.generalArgs[0]]) ?
|
||||
this.generalArgs[0] : 'master';
|
||||
var numToMake = parseInt(this.generalArgs[0], 10) || this.generalArgs[1] || 1;
|
||||
|
||||
// make sure its a branch and exists
|
||||
|
|
1
build/bundle.min.6f4e59f1.js
Normal file
1
build/bundle.min.6f4e59f1.js
Normal file
File diff suppressed because one or more lines are too long
1
build/bundle.min.js
vendored
Normal file
1
build/bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -434,7 +434,7 @@
|
|||
For a much easier time perusing the source, see the individual files at:
|
||||
https://github.com/pcottle/learnGitBranching
|
||||
-->
|
||||
<script src="build/bundle.js"></script>
|
||||
<script src="build/bundle.min.6f4e59f1.js"></script>
|
||||
|
||||
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
||||
The downside? No raw logs to parse for analytics, so I have to include
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue