hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
5eca86b4d9f4a38cf894d5ebd2165d494c67741d
diff --git a/lib/spatial_features/has_spatial_features.rb b/lib/spatial_features/has_spatial_features.rb index <HASH>..<HASH> 100644 --- a/lib/spatial_features/has_spatial_features.rb +++ b/lib/spatial_features/has_spatial_features.rb @@ -69,7 +69,7 @@ module SpatialFeatures if all == unscoped Feature.w...
Fix getting features of a scope with a custom select If a scope have a custom select, it would override the activerecord’s default of only selecting the id when nesting scopes in a where clause. This commit ensures there is no custom select clause.
culturecode_spatial_features
train
rb
d25a3e9f266fcdbf8b124d4643f744e37854f88f
diff --git a/checkmgr/broker.go b/checkmgr/broker.go index <HASH>..<HASH> 100644 --- a/checkmgr/broker.go +++ b/checkmgr/broker.go @@ -59,6 +59,11 @@ func (cm *CheckManager) getBrokerCN(broker *apiclient.Broker, submissionURL apic cn := "" for _, detail := range broker.Details { + // broker must be active + if ...
fix: for enterprise brokers, when getting cn verify status is active
circonus-labs_circonus-gometrics
train
go
89bd7f477aa3ec7bd8ae71ae2b0caf0c9131e3c7
diff --git a/templates/js/sass.js b/templates/js/sass.js index <HASH>..<HASH> 100644 --- a/templates/js/sass.js +++ b/templates/js/sass.js @@ -86,12 +86,24 @@ var sassService = (function ($) { module.loadSass = function () { getSassData(function ( data ) { - var sassContent = $($('#sass-page').html()); +...
Errors if no results in sassdata are found.
devbridge_Styleguide
train
js
828941b273e1c6393bec6723ae2cc394c0536db4
diff --git a/internal/resolver/resolver.go b/internal/resolver/resolver.go index <HASH>..<HASH> 100644 --- a/internal/resolver/resolver.go +++ b/internal/resolver/resolver.go @@ -143,8 +143,8 @@ func (r *Resolver) Resolve(reqs []*chart.Dependency, repoNames map[string]string } // Retrieve list of tags for rep...
Readded resolver OCI logic
helm_helm
train
go
29c63545ce6fffd8289c55c39d81c4fde993533d
diff --git a/providers/dns/gcloud/googlecloud.go b/providers/dns/gcloud/googlecloud.go index <HASH>..<HASH> 100644 --- a/providers/dns/gcloud/googlecloud.go +++ b/providers/dns/gcloud/googlecloud.go @@ -311,7 +311,7 @@ func (d *DNSProvider) getHostedZone(domain string) (string, error) { } for _, z := range zones....
gcloud: fix zone visibility. (#<I>)
go-acme_lego
train
go
052a42401aa90436222a6457f93ba0635e4aad0c
diff --git a/supply/lib/supply/uploader.rb b/supply/lib/supply/uploader.rb index <HASH>..<HASH> 100644 --- a/supply/lib/supply/uploader.rb +++ b/supply/lib/supply/uploader.rb @@ -155,10 +155,11 @@ module Supply def update_track(apk_version_codes) UI.message("Updating track '#{Supply.config[:track]}'...") ...
Check superseded tracks for rollout in supply (already works for production, beta and alpha). (#<I>)
fastlane_fastlane
train
rb
0d866c138fe2580c03875f7c21b926e5f64aa188
diff --git a/lineage/__init__.py b/lineage/__init__.py index <HASH>..<HASH> 100644 --- a/lineage/__init__.py +++ b/lineage/__init__.py @@ -497,7 +497,7 @@ class Lineage(object): shared_genes_dfs.append(temp) if len(shared_genes_dfs) > 0: - shared_genes = pd.concat(shared_genes_dfs...
Update for compatibility with future `pandas` versions
apriha_lineage
train
py
368f2ef219a26a5cd072744cbc1bd1800a151a89
diff --git a/lib/keen-event.js b/lib/keen-event.js index <HASH>..<HASH> 100644 --- a/lib/keen-event.js +++ b/lib/keen-event.js @@ -13,9 +13,9 @@ var KeenEventModule = (function (options, eventEmitter) { { name: "keen:ip_to_geo", input: { - "ip": "intention.ipAddress" + "ip": "...
Funnily this should work but doesn't seem to.
sebinsua_express-keenio
train
js
e586e0ecc03215b6286eb1e1ae7e7a5010aa60a6
diff --git a/packages/from-jsdoc/lib/check-types.js b/packages/from-jsdoc/lib/check-types.js index <HASH>..<HASH> 100644 --- a/packages/from-jsdoc/lib/check-types.js +++ b/packages/from-jsdoc/lib/check-types.js @@ -11,6 +11,7 @@ const BASIC_TYPES = [ 'null', 'symbol', 'undefined', + 'void', ].concat(types); ...
feat(from-jsdoc: add void as known type
miralemd_scriptappy
train
js,js
137b70e5ee89a03089b746a6533a301dac04fb56
diff --git a/lib/History.js b/lib/History.js index <HASH>..<HASH> 100644 --- a/lib/History.js +++ b/lib/History.js @@ -60,7 +60,7 @@ History.prototype.latest = function(cb) { History.prototype.storeSnapshot = function(snapshot, cb) { // Only Master Document may set ids - if(!snapshot.id) { + if(!snapshot.edit.i...
Fix store snapshot would store under wrong id
gulf_gulf
train
js
ade060d5c91a5e9b4c8c082adc5035ab2aeae2ff
diff --git a/lib/contracts/request.rb b/lib/contracts/request.rb index <HASH>..<HASH> 100644 --- a/lib/contracts/request.rb +++ b/lib/contracts/request.rb @@ -40,7 +40,7 @@ module Contracts def execute response = HTTParty.send(method, @host + path, { - httparty_params_key => params, + httpar...
for POST requests, the ruby hash params should be converted to json string in order to compose an application/json body
thoughtworks_pacto
train
rb,rb
b4bc1d9f98d6396ca5389180810c27ee02bdb7ea
diff --git a/src/utils/sample_utils.py b/src/utils/sample_utils.py index <HASH>..<HASH> 100644 --- a/src/utils/sample_utils.py +++ b/src/utils/sample_utils.py @@ -55,6 +55,12 @@ def predictive_probability(M_c, X_L, X_D, Y, Q): # row numbers, so this function will ensure the same constraint, pending # a formal...
Clarify a reason for the restricted query interface.
probcomp_crosscat
train
py
903e5e1295afb350693ec6b3e096d3aa24ac993b
diff --git a/code/javascript/core/scripts/selenium-browserbot.js b/code/javascript/core/scripts/selenium-browserbot.js index <HASH>..<HASH> 100644 --- a/code/javascript/core/scripts/selenium-browserbot.js +++ b/code/javascript/core/scripts/selenium-browserbot.js @@ -217,7 +217,7 @@ BrowserBot.prototype.callOnWindowPage...
God only knows why, but HTAs can get Permission Denied when checking window.document.location.href in a pop-up window, so we're checking window.location.href instead. r<I>
SeleniumHQ_selenium
train
js
4bc6f501b20c2fa949173243c57a9eb88f1f28ac
diff --git a/lib/bigcommerce/api.rb b/lib/bigcommerce/api.rb index <HASH>..<HASH> 100644 --- a/lib/bigcommerce/api.rb +++ b/lib/bigcommerce/api.rb @@ -113,7 +113,7 @@ module Bigcommerce @connection.get("/options/#{id}",{}) end - def create_options(options={}) + def create_option(options={}) @...
Normalize optionset and options methods Fixes issues with POST /optionsets/{id}/options and normalizes several related method names.
bigcommerce_bigcommerce-api-ruby
train
rb
360afab5e29c00da6eb420c1ac02fcec31537a2a
diff --git a/src/test-support.js b/src/test-support.js index <HASH>..<HASH> 100644 --- a/src/test-support.js +++ b/src/test-support.js @@ -28,9 +28,8 @@ function jscodeshiftTest(options) { .sync('**/*.input.*', { cwd: details.fixtureDir, absolute: true, - transform: entry => - e...
globby removed support for `transform`, use `map` instead
rwjblue_codemod-cli
train
js
114a275dc67316007bc6c9f88f9d0196650155b1
diff --git a/src/Data/RepositoryManager.php b/src/Data/RepositoryManager.php index <HASH>..<HASH> 100644 --- a/src/Data/RepositoryManager.php +++ b/src/Data/RepositoryManager.php @@ -351,12 +351,17 @@ class RepositoryManager implements RepositoryManagerInterface { public function getRefererId($referer) { if ($...
Fixed the domain creation code for domains without an extension. For local development for example.
antonioribeiro_tracker
train
php
30ed0214562eb187789de524345f46bc7a5bbd10
diff --git a/saucelabs-browsers.js b/saucelabs-browsers.js index <HASH>..<HASH> 100644 --- a/saucelabs-browsers.js +++ b/saucelabs-browsers.js @@ -4,12 +4,6 @@ module.exports = { // Chrome - sauce_linux_chrome_beta: { - base: 'SauceLabs', - browserName: 'chrome', - platform: 'linux', - ...
Remove chrome beta from sauce labs browser list, it failed everytime
kimmobrunfeldt_progressbar.js
train
js
4a6e91918d4a533035aa015d228833376bb25bfb
diff --git a/spec/performance/attributes_spec.rb b/spec/performance/attributes_spec.rb index <HASH>..<HASH> 100644 --- a/spec/performance/attributes_spec.rb +++ b/spec/performance/attributes_spec.rb @@ -14,7 +14,7 @@ describe Mobility::Attributes do end expect { klass.include(described_class.new(...
Bump attributes object allocation limit in spec
shioyama_mobility
train
rb
66ec55c9ec38b10878f51a37871f465a0b8bd30b
diff --git a/btcpy/structs/transaction.py b/btcpy/structs/transaction.py index <HASH>..<HASH> 100644 --- a/btcpy/structs/transaction.py +++ b/btcpy/structs/transaction.py @@ -762,7 +762,7 @@ class SegWitTransaction(BaseTransaction, Immutable): @classmethod def from_json(cls, tx_json): tx = super().fr...
fix from_json for segwit transactions
chainside_btcpy
train
py
03bed83cc99f442a47aff029577c47c8134b1f3e
diff --git a/api/python/setup.py b/api/python/setup.py index <HASH>..<HASH> 100644 --- a/api/python/setup.py +++ b/api/python/setup.py @@ -4,7 +4,7 @@ import sys from setuptools import setup, find_packages from setuptools.command.install import install -VERSION = "3.0.8" +VERSION = "3.1.0" def readme(): rea...
Update to version <I> (#<I>)
quiltdata_quilt
train
py
dfd2255217506ea46444c656c706c42632647d9b
diff --git a/src/ViewModels/GeoJsonDataSourceViewModel.js b/src/ViewModels/GeoJsonDataSourceViewModel.js index <HASH>..<HASH> 100644 --- a/src/ViewModels/GeoJsonDataSourceViewModel.js +++ b/src/ViewModels/GeoJsonDataSourceViewModel.js @@ -411,7 +411,7 @@ function reprojectToGeographic(geoJson) { code = undefin...
Fix typo causing GeoJSON to be projected incorrectly.
TerriaJS_terriajs
train
js
6e515ada22b02c088c2633575e62dec13035d4ae
diff --git a/app/models/kalibro_configuration.rb b/app/models/kalibro_configuration.rb index <HASH>..<HASH> 100644 --- a/app/models/kalibro_configuration.rb +++ b/app/models/kalibro_configuration.rb @@ -14,7 +14,7 @@ class KalibroConfiguration < KalibroClient::Entities::Configurations::KalibroCon end def self.p...
Use default user of nil for finding visible reading groups/configurations
mezuro_prezento
train
rb,rb
77c91cc08513be47798c6866f0fa718bc41e7a69
diff --git a/lib/rollbar/configuration.rb b/lib/rollbar/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/rollbar/configuration.rb +++ b/lib/rollbar/configuration.rb @@ -261,7 +261,10 @@ module Rollbar found = Gem::Specification.each.select { |spec| name === spec.name } puts "[Rollbar] No gems fo...
fix: avoid temporary array copies caused by chaining
rollbar_rollbar-gem
train
rb,rb
99280b03e9ba24f086c9c9bb03e7c7168b65c304
diff --git a/tests/test_game.py b/tests/test_game.py index <HASH>..<HASH> 100644 --- a/tests/test_game.py +++ b/tests/test_game.py @@ -48,6 +48,18 @@ class TestGame(unittest.TestCase): self.assertRaises(domino.NoSuchDominoException, domino.game._domino_hand, d5, hands) + def tes...
adding a test for remaining_points
abw333_dominoes
train
py
88d4143b9dbd2c2276aaee93c22ca66ff10b994f
diff --git a/multilingual_tags/models.py b/multilingual_tags/models.py index <HASH>..<HASH> 100644 --- a/multilingual_tags/models.py +++ b/multilingual_tags/models.py @@ -55,3 +55,6 @@ class TaggedItem(models.Model): def __unicode__(self): return '{0}: #{1}'.format(self.object, self.tag) + + class Me...
Made Tag and the tagged object be unique together.
bitlabstudio_django-multilingual-tags
train
py
f4d7f6e0f547aae5f92f739214115dffb296926b
diff --git a/lib/ransack/nodes/bindable.rb b/lib/ransack/nodes/bindable.rb index <HASH>..<HASH> 100644 --- a/lib/ransack/nodes/bindable.rb +++ b/lib/ransack/nodes/bindable.rb @@ -5,9 +5,7 @@ module Ransack attr_accessor :parent, :attr_name def attr - @attr ||= ransacker ? - ransacker.att...
Extract multi-line ternary out to private method
activerecord-hackery_ransack
train
rb
3ddcc9c3f251493748cbc046cf2a319b9d9f214d
diff --git a/src/main/java/com/cedarsoftware/util/UniqueIdGenerator.java b/src/main/java/com/cedarsoftware/util/UniqueIdGenerator.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/cedarsoftware/util/UniqueIdGenerator.java +++ b/src/main/java/com/cedarsoftware/util/UniqueIdGenerator.java @@ -37,7 +37,7 @@ import ...
used int instead of long for count
jdereg_java-util
train
java
9a24d2d27f9f2c7c04f4d4d9da0586a6e1e486f8
diff --git a/src/Sculpin/Core/Source/AbstractSource.php b/src/Sculpin/Core/Source/AbstractSource.php index <HASH>..<HASH> 100644 --- a/src/Sculpin/Core/Source/AbstractSource.php +++ b/src/Sculpin/Core/Source/AbstractSource.php @@ -161,7 +161,7 @@ abstract class AbstractSource implements SourceInterface /** *...
Add typing support for Core: fix return value of content method
sculpin_sculpin
train
php
d9170b7fcd7588e9643d9c3ed7fdc0433258429d
diff --git a/raft/src/main/java/net/kuujo/copycat/raft/state/RaftContext.java b/raft/src/main/java/net/kuujo/copycat/raft/state/RaftContext.java index <HASH>..<HASH> 100644 --- a/raft/src/main/java/net/kuujo/copycat/raft/state/RaftContext.java +++ b/raft/src/main/java/net/kuujo/copycat/raft/state/RaftContext.java @@ -5...
Ensure query requests are properly populated with the current session ID.
atomix_atomix
train
java
77bfebf6c3d939226c465012a69ead32d936be47
diff --git a/openquake/utils/version.py b/openquake/utils/version.py index <HASH>..<HASH> 100644 --- a/openquake/utils/version.py +++ b/openquake/utils/version.py @@ -51,7 +51,7 @@ def info(version_data): return error data.append(str(datum if datum > 0 else 0)) - result = "OpenQuake version [...
[nhlib-based] specification removed from version string
gem_oq-engine
train
py
d82aaf617c8ec868446d8bd334d1e3dbc1475244
diff --git a/rpc/http.go b/rpc/http.go index <HASH>..<HASH> 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -9,6 +9,7 @@ import ( "net/http" "github.com/ethereum/go-ethereum/logger" + "github.com/ethereum/go-ethereum/logger/glog" "github.com/ethereum/go-ethereum/xeth" "github.com/rs/cors" ) @@ -110,7 +111,7 @@...
rpc: changed logging to use glog
ethereum_go-ethereum
train
go
f5f6838b25ccd897e69a27fa4d4d2040080d50a0
diff --git a/elastic.js b/elastic.js index <HASH>..<HASH> 100644 --- a/elastic.js +++ b/elastic.js @@ -157,8 +157,8 @@ angular.module('monospaced.elastic', []) ta.style.overflowY = overflow || 'hidden'; if (taHeight !== mirrorHeight) { + scope.$emit('elastic:resize', $ta, ...
Emits resize event before changing the elements height
monospaced_angular-elastic
train
js
7096ce49529f430180c393e2b4030b0fad2ccdf1
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py index <HASH>..<HASH> 100644 --- a/openquake/engine/engine.py +++ b/openquake/engine/engine.py @@ -36,6 +36,10 @@ from openquake.engine.supervising import supervisor from openquake.engine.utils import monitor, get_calculator_class from openquake.engi...
engine: Record all software versions in oq_job when the job is initialized. Former-commit-id: f<I>e9ce<I>eebd6a<I>b5fd2f<I>fc<I>
gem_oq-engine
train
py
ad5a5b4e359680c8714c16d696df6d487490b0f0
diff --git a/pagedown/models.py b/pagedown/models.py index <HASH>..<HASH> 100644 --- a/pagedown/models.py +++ b/pagedown/models.py @@ -1,4 +1,2 @@ from django.db import models -class PagedownField(models.TextField): - pass \ No newline at end of file
Removed uneccessary models field
timmyomahony_django-pagedown
train
py
ecad20635d68272b2507631804d0fa44ba4fec82
diff --git a/Classes/Emogrifier.php b/Classes/Emogrifier.php index <HASH>..<HASH> 100644 --- a/Classes/Emogrifier.php +++ b/Classes/Emogrifier.php @@ -1300,11 +1300,12 @@ class Emogrifier $trimmedLowercaseSelector = trim($lowercasePaddedSelector); $xPathKey = md5($trimmedLowercaseSelector); i...
[CLEANUP] Minor code reformat (#<I>) This makes sure the code is not changed by a reformat with PhpStorm.
MyIntervals_emogrifier
train
php
b23da1700a89d5300fdffb5994760d49d4cff222
diff --git a/presto-main/src/main/java/com/facebook/presto/server/ResourceUtil.java b/presto-main/src/main/java/com/facebook/presto/server/ResourceUtil.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/server/ResourceUtil.java +++ b/presto-main/src/main/java/com/facebook/presto/server...
Include message in <I> response from coordinator Jax-rs' WebApplicationException produces a canned response that doesn't include the provided message unless the Response object is passed explicitly during construction. This change provides a more user-friendly message in the HTTP response body in case of an "access d...
prestodb_presto
train
java
b654e8bfe18f27ad6613ac340bbec31d20c6af74
diff --git a/app.js b/app.js index <HASH>..<HASH> 100755 --- a/app.js +++ b/app.js @@ -29,7 +29,7 @@ var argv = rc('peerflix', {}, optimist .alias('n', 'no-quit').describe('n', 'do not quit peerflix on vlc exit') .alias('a', 'all').describe('a', 'select all files in the torrent') .alias('r', 'remove').describe('r...
change --ipaddress to --peer and support multiple
mafintosh_peerflix
train
js
fcfcce8b87f9be4a9b68585772ca799d692964d2
diff --git a/angr/blade.py b/angr/blade.py index <HASH>..<HASH> 100644 --- a/angr/blade.py +++ b/angr/blade.py @@ -90,7 +90,7 @@ class Blade(object): regs = set() # Retrieve the target: are we slicing from a register(IRStmt.Put), or a temp(IRStmt.WrTmp)? - stmts = self._get_run(self._dst_run)...
Adapt Blade to the latest pyvex.
angr_angr
train
py
904ac8d1468bc777433a4849cf42df0e3c728e32
diff --git a/styles/colors.js b/styles/colors.js index <HASH>..<HASH> 100644 --- a/styles/colors.js +++ b/styles/colors.js @@ -1,13 +1,7 @@ import { isObject } from '@shopgate/pwa-common/helpers/validation'; import { colors as customColors } from '../config/app'; -let overrides = {}; - -if (isObject(customColors)) ...
CON-<I>: Simplified the value check for custom colors
shopgate_pwa
train
js
30a4208375ba5ff81abfb87d0f0734e306c92c70
diff --git a/src/com/jfoenix/controls/JFXSnackbar.java b/src/com/jfoenix/controls/JFXSnackbar.java index <HASH>..<HASH> 100644 --- a/src/com/jfoenix/controls/JFXSnackbar.java +++ b/src/com/jfoenix/controls/JFXSnackbar.java @@ -122,6 +122,9 @@ public class JFXSnackbar extends StackPane { //popup.requestLayout(); ...
Should solve NullPointerException in JFXSnackbar constructor Trying to refresh the container before registering it caused a NullPointerException. This little modification should solve it.
jfoenixadmin_JFoenix
train
java
0bb1a5385459f674a3eb924120a7c5923535775f
diff --git a/tests/Unit/Core/DbTest.php b/tests/Unit/Core/DbTest.php index <HASH>..<HASH> 100644 --- a/tests/Unit/Core/DbTest.php +++ b/tests/Unit/Core/DbTest.php @@ -100,19 +100,6 @@ class DbTest extends UnitTestCase } } - /** - * Testing escaping string - * Todo Remove when deprecated in 5....
ESDEV-<I> Remove test for removed method Database::escapeString() from DbTest.php (cherry picked from commit b<I>d9ca)
OXID-eSales_oxideshop_ce
train
php
9fee4e1cedf5bb4cd457f85691a10c72b0bef523
diff --git a/s4/__init__.py b/s4/__init__.py index <HASH>..<HASH> 100644 --- a/s4/__init__.py +++ b/s4/__init__.py @@ -1 +1 @@ -VERSION = '0.2.0' +VERSION = '0.2.1'
Bump to version <I>
MichaelAquilina_S4
train
py
3f19c0ac05216b162e22a7f11571833735b96ec1
diff --git a/src/Tasks/MigrateContentToElement.php b/src/Tasks/MigrateContentToElement.php index <HASH>..<HASH> 100644 --- a/src/Tasks/MigrateContentToElement.php +++ b/src/Tasks/MigrateContentToElement.php @@ -7,6 +7,7 @@ use DNADesign\Elemental\Extensions\ElementalPageExtension; use DNADesign\Elemental\Models\BaseEl...
FIX Ensuring write operations when clearing content is captured in a try...catch
dnadesign_silverstripe-elemental
train
php
7509ba906796a49995345d72dc2effaa8a178f11
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -71,6 +71,16 @@ def main(): print('Done.') elif len(argv) >= 2 and argv[1] == 'pypi': + # (Re)generate the code to make sure we don't push without it + gen_tl() + + # Try importing the tele...
Assert that module was generated correctly on setup.py pypi
LonamiWebs_Telethon
train
py
bd65fc23556e016989de1502bf61c1f1592a56f3
diff --git a/sass/base/components/navigation/js/main-nav.js b/sass/base/components/navigation/js/main-nav.js index <HASH>..<HASH> 100644 --- a/sass/base/components/navigation/js/main-nav.js +++ b/sass/base/components/navigation/js/main-nav.js @@ -159,6 +159,6 @@ // to the sticky nav once it's being scrolled do...
Corrected syntax erorr
comicrelief_pattern-lab
train
js
5eece7ff733906db10efa141eafafca8627e86b2
diff --git a/pykechain/client.py b/pykechain/client.py index <HASH>..<HASH> 100644 --- a/pykechain/client.py +++ b/pykechain/client.py @@ -1488,6 +1488,7 @@ class Client(object): self, parts: List[Dict], asynchronous: Optional[bool] = False, + retrieve_instances: Option...
KE-<I> added a retrieve instances option on create_bulk_parts
KE-works_pykechain
train
py
e33d2ac17c16b9ad10982712cb83f38bc68cc895
diff --git a/cache/contenthash/filehash.go b/cache/contenthash/filehash.go index <HASH>..<HASH> 100644 --- a/cache/contenthash/filehash.go +++ b/cache/contenthash/filehash.go @@ -29,6 +29,10 @@ func NewFileHash(path string, fi os.FileInfo) (hash.Hash, error) { Linkname: link, } + if fi.Mode()&os.ModeSymlink != 0...
contenthash: normalize symlink mode Mode is not implemented in platform compatible way so normalize when calculating the checksum.
moby_buildkit
train
go
7910eee4872b64876652511afe9bd3cedc6d1287
diff --git a/client/src/main/java/com/netflix/conductor/client/task/WorkflowTaskCoordinator.java b/client/src/main/java/com/netflix/conductor/client/task/WorkflowTaskCoordinator.java index <HASH>..<HASH> 100644 --- a/client/src/main/java/com/netflix/conductor/client/task/WorkflowTaskCoordinator.java +++ b/client/src/ma...
removed unnecessary syncronization in shutdown()
Netflix_conductor
train
java
5a92ec64d588d87d08b6f6c9e95c770ef0f7476c
diff --git a/lib/hamlbars/version.rb b/lib/hamlbars/version.rb index <HASH>..<HASH> 100644 --- a/lib/hamlbars/version.rb +++ b/lib/hamlbars/version.rb @@ -1,3 +1,3 @@ module Hamlbars - VERSION = '2012.1.10' + VERSION = '2012.1.13' end
Friday the <I>th seems like an auspicious day to release it into the wild.
jamesotron_hamlbars
train
rb
4f669b37478fd20fcc4224ff9e873228a950bc3a
diff --git a/addon/adapters/odata.js b/addon/adapters/odata.js index <HASH>..<HASH> 100644 --- a/addon/adapters/odata.js +++ b/addon/adapters/odata.js @@ -321,7 +321,7 @@ export default DS.RESTAdapter.extend({ } return this._callAjax( - { url: resultUrl, method: 'GET', xhrFields: args.fields ? {} : arg...
Fix xhrFields loss in callFunction and callAction methods
Flexberry_ember-flexberry-data
train
js
809dcdde4614ca6358523373548866f52dd25f64
diff --git a/lib/ApiCLI.php b/lib/ApiCLI.php index <HASH>..<HASH> 100644 --- a/lib/ApiCLI.php +++ b/lib/ApiCLI.php @@ -421,7 +421,7 @@ class ApiCLI extends AbstractView return $this->version_cache; } /** Verifies version. Should be used by addons. For speed improvement, redefine this into empty funct...
added support for specifying location of requested add-ons.
atk4_atk4
train
php
c4bb2bd0eeb4b91dfbfc4fcfd57a2cad5ba799e8
diff --git a/lib/graphlib.php b/lib/graphlib.php index <HASH>..<HASH> 100644 --- a/lib/graphlib.php +++ b/lib/graphlib.php @@ -1110,6 +1110,7 @@ function find_range($data, $min, $max, $resolution) { if ($max < 0) $factor = - pow(10, (floor(log10(abs($max))) + $resolution) ); else $factor = pow(10, (floor(log...
Added "$factor = round($factor * <I>) / <I>;" to function find_range ... it fixes some strange rounding errors that were happening with Moodle surveys.
moodle_moodle
train
php
c995215e436e2780ca4c52031029fd1a6f14a2c8
diff --git a/lib/app.rb b/lib/app.rb index <HASH>..<HASH> 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -51,8 +51,7 @@ module ErnieBrodeur App = Application.new # This will load a helper, if it exists. - begin - require "helpers/#{App.name}" - rescue LoadError - end + + f = "#{$:.last}/helpers/#{App.name}....
Fixed app so it will break on errors in the helpers file by properly checking for file existances.
erniebrodeur_bini
train
rb
2e98febfebf9f842bc0c972cb4b61573364fb92b
diff --git a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java @@ -3...
HCOLL-<I> fixed bug around lock type
OpenHFT_Chronicle-Map
train
java
6e86ab4a9f9f6bc125b38a33bc188274b7edee73
diff --git a/libargos/qt/misc.py b/libargos/qt/misc.py index <HASH>..<HASH> 100644 --- a/libargos/qt/misc.py +++ b/libargos/qt/misc.py @@ -49,11 +49,11 @@ def containsSettingsGroup(groupName, settings=None): try: return _containsPath(tail, settings) finally: - ...
Fix: endGroup wasn't called
titusjan_argos
train
py
b7ea39564f6181209f7f6d055d727314630a8f40
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -4,7 +4,7 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "2.1.0a7.dev1" +__version__ = "2.1.0a7.dev2" __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and ...
Set version to <I>a7.dev2
explosion_spaCy
train
py
b3903bb26af20d7937af84ad02233c8e88844baf
diff --git a/lib/multiauth/rails.rb b/lib/multiauth/rails.rb index <HASH>..<HASH> 100644 --- a/lib/multiauth/rails.rb +++ b/lib/multiauth/rails.rb @@ -4,15 +4,13 @@ ActionController::Base.append_view_path File.expand_path("../../../app/views", _ module Multiauth class Engine < ::Rails::Engine initializer "mult...
make it work in dev env
dcu_multiauth
train
rb
ce15501733c1ffd749707d266ce6a2cf333ea65e
diff --git a/httpclient/http.go b/httpclient/http.go index <HASH>..<HASH> 100644 --- a/httpclient/http.go +++ b/httpclient/http.go @@ -59,7 +59,7 @@ var ( // time to wait in seconds for a server's response headers after fully // writing the request (including its body, if any). This // time does not include the t...
IV-<I> increase timout to 5 minutes
rightscale_rsc
train
go
2f56231351447585d4b119154cc21a8f3a172b9c
diff --git a/src/main/java/com/semanticcms/core/canonical/Canonical.java b/src/main/java/com/semanticcms/core/canonical/Canonical.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/semanticcms/core/canonical/Canonical.java +++ b/src/main/java/com/semanticcms/core/canonical/Canonical.java @@ -23,7 +23,7 @@ packag...
Significantly refactored naming and reduced use of inner classes/interfaces
aoindustries_semanticcms-core-canonical
train
java
62dd056ac4184d960ef3d332f02dc4f9b684b06e
diff --git a/lib/helpers/checkTypes.js b/lib/helpers/checkTypes.js index <HASH>..<HASH> 100644 --- a/lib/helpers/checkTypes.js +++ b/lib/helpers/checkTypes.js @@ -18,9 +18,9 @@ import { toStringTag } from './toStringTag'; * isArray(0); // true * isArray(document.querySelectorAll('*')); ...
helpers: checkTypes: make isArray own function.
dwaynejs_dwayne
train
js
532137c2c819bd151f6f551564ce255e71b56d01
diff --git a/lib/resource/Challenge.js b/lib/resource/Challenge.js index <HASH>..<HASH> 100644 --- a/lib/resource/Challenge.js +++ b/lib/resource/Challenge.js @@ -31,13 +31,16 @@ function Challenge() { utils.inherits(Challenge, InstanceResource); /** -* Retrieves the {@link Factor} instance ({@link SmsFactor} or {@...
Add documentation of expansionOptions There are more places that need this.
stormpath_stormpath-sdk-node
train
js
0458b0327a626a7b95d4d206e4fa2fe37605dac5
diff --git a/lib/fuci/git.rb b/lib/fuci/git.rb index <HASH>..<HASH> 100644 --- a/lib/fuci/git.rb +++ b/lib/fuci/git.rb @@ -34,9 +34,12 @@ module Fuci def pull_number_from branch_name remote_sha = remote_sha_from branch_name - pull_number = with_popen pull_number_from_sha_command(remote_sha) - ...
Rescue NoResponseError with NoPullError
davejachimiak_fuci
train
rb,rb
653aa12076d79eec3ed0ac5181fa1bf374fa0af6
diff --git a/js/__loader.js b/js/__loader.js index <HASH>..<HASH> 100644 --- a/js/__loader.js +++ b/js/__loader.js @@ -290,18 +290,32 @@ const stream = loader.require('stream'); class StdoutStream extends stream.Writable { _write(chunk, encoding, callback) { - runtime.stdio.defaultStdio.write(String(chu...
Make process.stdout and process.stderr output to the QEMU console, add process.termout and process.termerr
runtimejs_runtime
train
js
892b74b9c19dcbdcba72a661b3611204c6d7c3d9
diff --git a/tools/test-generator/src/test/java/com/consol/citrus/generate/javadsl/JavaDslTestGeneratorTest.java b/tools/test-generator/src/test/java/com/consol/citrus/generate/javadsl/JavaDslTestGeneratorTest.java index <HASH>..<HASH> 100644 --- a/tools/test-generator/src/test/java/com/consol/citrus/generate/javadsl/J...
(#<I>) Added missing import that was lost while cherry picking
citrusframework_citrus
train
java
d4967a59cd73d40783c82a8d6dc1be7f29db1618
diff --git a/test/suites/CSSJanusTest.php b/test/suites/CSSJanusTest.php index <HASH>..<HASH> 100644 --- a/test/suites/CSSJanusTest.php +++ b/test/suites/CSSJanusTest.php @@ -21,6 +21,7 @@ class CSSJanusTest extends PHPUnit_Framework_TestCase { $input = $case[0]; $noop = !isset($case[1]); $output = $noop...
test: Update to upstream <I>
cssjanus_php-cssjanus
train
php
0dc8a171b45a2ce0bb18502f81451d18b2af4a4a
diff --git a/structr-modules/structr-payment-module/src/test/java/org/structr/test/PaymentTest.java b/structr-modules/structr-payment-module/src/test/java/org/structr/test/PaymentTest.java index <HASH>..<HASH> 100644 --- a/structr-modules/structr-payment-module/src/test/java/org/structr/test/PaymentTest.java +++ b/stru...
Fixes failing PaymentTest.
structr_structr
train
java
0b12899708d5204252f3dc4c093b71e214ae3204
diff --git a/modules/casper.js b/modules/casper.js index <HASH>..<HASH> 100644 --- a/modules/casper.js +++ b/modules/casper.js @@ -1078,7 +1078,7 @@ Casper.prototype.waitFor = function waitFor(testFx, then, onTimeout, timeout) { var condition = false; var interval = setInterval(function(self, testFx, ...
fixed Casper.waitFor() was not caling testFx using the correct context
casperjs_casperjs
train
js
ef67e3c9126ba641863c2c3637dbbe65d6e146bb
diff --git a/hamper/plugins/karma.py b/hamper/plugins/karma.py index <HASH>..<HASH> 100644 --- a/hamper/plugins/karma.py +++ b/hamper/plugins/karma.py @@ -110,7 +110,7 @@ class Karma(ChatCommandPlugin): Return the top or bottom 5 """ - regex = r'^karma --(top|bottom)$' + regex = r'^(sc...
karma: per request !karma or !score works
hamperbot_hamper
train
py
088a298a96fdfb3abc1ce8a820c1eb79ff09ba50
diff --git a/lib/object.js b/lib/object.js index <HASH>..<HASH> 100644 --- a/lib/object.js +++ b/lib/object.js @@ -84,7 +84,6 @@ exports.addProperties = function(original, extension) { Object.defineProperty(original, key, { value: extension[key], - enumerable: false, }); } };
Removed enumerable attribute which should not be needed.
alexfernandez_prototypes
train
js
5189fd3e50e82697699bcd138e2116ced10eb5df
diff --git a/src/busio.py b/src/busio.py index <HASH>..<HASH> 100755 --- a/src/busio.py +++ b/src/busio.py @@ -7,7 +7,10 @@ See `CircuitPython:busio` in CircuitPython for more details. * Author(s): cefn """ -import threading +try: + import threading +except ImportError: + threading = None import adafruit_p...
Fix threading issue that stopped Blinka from working on MicroPython
adafruit_Adafruit_Blinka
train
py
35ecc75532f487e019df5132b09d98a29ae395df
diff --git a/lib/c2s/stream.js b/lib/c2s/stream.js index <HASH>..<HASH> 100644 --- a/lib/c2s/stream.js +++ b/lib/c2s/stream.js @@ -257,6 +257,7 @@ C2SStream.prototype.onRegistration = function(stanza) { .c('instructions').t(instructions).up() .c('username').up() .c('password') + ...
Fixing issue #<I>. `C2SStream` now properly supports asynchronous callbacks when dealing with registration failures. Issue: <URL>
xmppjs_xmpp.js
train
js
ccb0af39dc3b677e13fca06ff55771e379b3a8e5
diff --git a/src/DICIT/Injectors/MethodInjector.php b/src/DICIT/Injectors/MethodInjector.php index <HASH>..<HASH> 100644 --- a/src/DICIT/Injectors/MethodInjector.php +++ b/src/DICIT/Injectors/MethodInjector.php @@ -16,10 +16,19 @@ class MethodInjector implements Injector } foreach($callConfig as $me...
added the possibility to call multiple times a same method
oliviermadre_dic-it
train
php
b7781d0dca1c8a0c669fd38866b20348b35ef4e3
diff --git a/neon-server/src/main/javascript/query/query.js b/neon-server/src/main/javascript/query/query.js index <HASH>..<HASH> 100644 --- a/neon-server/src/main/javascript/query/query.js +++ b/neon-server/src/main/javascript/query/query.js @@ -748,7 +748,8 @@ neon.query.saveState = function(id, stateObject, successC...
Allow saving the state to happen asynchronously.
NextCenturyCorporation_neon
train
js,js
ee9dba2e355432f3cf23eef5e3c99f96687681bb
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ module.exports = postcss.plugin('postcss-local-constants', function (opts) { var sets = opts && opts.defaults || {}; var globalNode; - var regex = /((?:[A-z]+))( )(from)(\s+)(~)((?:[A-z]+))/g; + ...
Allow numbers in variable names For colors such as "primary1" etc.
macropodhq_postcss-constants
train
js
d84470516dca45c3392dfec21917efaad44aa320
diff --git a/pyocd/target/family/target_lpc5500.py b/pyocd/target/family/target_lpc5500.py index <HASH>..<HASH> 100644 --- a/pyocd/target/family/target_lpc5500.py +++ b/pyocd/target/family/target_lpc5500.py @@ -55,7 +55,7 @@ class LPC5500Family(CoreSightTarget): seq.wrap_task('discovery', lambda s...
LPC<I>xx: Fix regression caused by naming error.
mbedmicro_pyOCD
train
py
13a3c3c06a8955c2187e201c7342a231462fef02
diff --git a/Test/Unit/ComponentAPI8Test.php b/Test/Unit/ComponentAPI8Test.php index <HASH>..<HASH> 100644 --- a/Test/Unit/ComponentAPI8Test.php +++ b/Test/Unit/ComponentAPI8Test.php @@ -2,10 +2,12 @@ namespace DrupalCodeBuilder\Test\Unit; +use DrupalCodeBuilder\Test\Unit\Parsing\PHPTester; + /** * Tests the AP...
Changed API test to use PHP helper.
drupal-code-builder_drupal-code-builder
train
php
85cb5300889d17e779b2a300cf2ff4c9b8574f87
diff --git a/neutronclient/shell.py b/neutronclient/shell.py index <HASH>..<HASH> 100644 --- a/neutronclient/shell.py +++ b/neutronclient/shell.py @@ -686,6 +686,7 @@ class NeutronShell(app.App): formatter = logging.Formatter(self.DEBUG_MESSAGE_FORMAT) else: formatter = logging.Format...
Silences the output in CLI for connection info This change try to reduce the useless urllib3 connection info in CLI by set the log level of urllib3.connectionpool. Change-Id: I9d<I>d<I>ae<I>dd<I>a<I>e<I>d<I>ffe<I> Closes-Bug: #<I>
rackerlabs_rackspace-python-neutronclient
train
py
778ffaf1f9d7aedb6f316d5879ed7f627461e891
diff --git a/pkg/sysregistriesv2/system_registries_v2.go b/pkg/sysregistriesv2/system_registries_v2.go index <HASH>..<HASH> 100644 --- a/pkg/sysregistriesv2/system_registries_v2.go +++ b/pkg/sysregistriesv2/system_registries_v2.go @@ -46,12 +46,10 @@ func (e *Endpoint) RewriteReference(ref reference.Named, prefix strin...
Only log the result of reference rewriting if the result is valid ... which is not, strictly speaking, guaranteed if reference.ParseNamed returns an error; and in that case we want to log the error and not really the result, if any, anyway. Also, don't bother checking whether the result is not nil on success, it must...
containers_image
train
go
9da897f493dad317b8cd605ab666f389d7a797c4
diff --git a/lib/nucleon/action/node/spawn.rb b/lib/nucleon/action/node/spawn.rb index <HASH>..<HASH> 100644 --- a/lib/nucleon/action/node/spawn.rb +++ b/lib/nucleon/action/node/spawn.rb @@ -34,8 +34,8 @@ class Spawn < CORL.plugin_class(:nucleon, :cloud_action) keypair_config - config.defa...
Fixing included bootstrap and seed action providers in the spawn action provider.
coralnexus_corl
train
rb
246f5fd5cfe201d687086f5f3560345c92da0640
diff --git a/src/Application.php b/src/Application.php index <HASH>..<HASH> 100644 --- a/src/Application.php +++ b/src/Application.php @@ -49,6 +49,7 @@ class Application implements HttpKernelInterface, TerminableInterface, \ArrayAcc public function __construct() { $this->setContainer(new Container);...
Added app to container, fixes #<I>
HawkBitPhp_hawkbit
train
php
d3d6471341977be521f41ed44c433a31d765fe2d
diff --git a/src/main/java/nl/garvelink/iban/IBAN.java b/src/main/java/nl/garvelink/iban/IBAN.java index <HASH>..<HASH> 100644 --- a/src/main/java/nl/garvelink/iban/IBAN.java +++ b/src/main/java/nl/garvelink/iban/IBAN.java @@ -21,7 +21,7 @@ import java.util.Comparator; /** * An immutable value object representing ...
JavaDoc fix: something got caught in a refactor/rename that shouldn't have.
barend_java-iban
train
java
af41c7f9b4bf38404b3ff22448601c3aea30e1e9
diff --git a/lib/datawrassler.rb b/lib/datawrassler.rb index <HASH>..<HASH> 100644 --- a/lib/datawrassler.rb +++ b/lib/datawrassler.rb @@ -32,14 +32,7 @@ class KdnuggetsRoundup::DataWrassler tags = doc.css('div.tag-data a') tags = tags.collect{|tag| tag.text} summary = doc.css('p.excerpt').text - auth...
Added regex to author scraper
Jirles_kdnuggets-roundup
train
rb
0ba9d4f4505d42cb0d3be588de114aff084d4de1
diff --git a/build.js b/build.js index <HASH>..<HASH> 100644 --- a/build.js +++ b/build.js @@ -80,6 +80,9 @@ exports.run = function(params, options, callback) { 'mojito-util': { fullpath: libpath.join(__dirname, '../../app/autoload/util.common.js') }, + 'mojito-perf...
the store also now needs mojito-perf
YahooArchive_mojito-cli-test
train
js,js
98b5fea6f15f56006aa6fdbc5045d30091dd523b
diff --git a/rapidoid-web/src/main/java/org/rapidoid/goodies/Goodies.java b/rapidoid-web/src/main/java/org/rapidoid/goodies/Goodies.java index <HASH>..<HASH> 100644 --- a/rapidoid-web/src/main/java/org/rapidoid/goodies/Goodies.java +++ b/rapidoid-web/src/main/java/org/rapidoid/goodies/Goodies.java @@ -192,13 +192,15 @@...
Fixed the admin password bootstrap in DEV mode.
rapidoid_rapidoid
train
java
a307081a641b074bbeda5a222a29fc7aa717f499
diff --git a/lib/DAV/server.js b/lib/DAV/server.js index <HASH>..<HASH> 100644 --- a/lib/DAV/server.js +++ b/lib/DAV/server.js @@ -57,15 +57,15 @@ function Server(options) { else if (options && typeof options.node == "object" && options.node.hasFeature(jsDAV.__INODE__)) { this.tree = new jsDAV_ObjectTree(...
* fixed checking if project is ftp project
mikedeboer_jsDAV
train
js
99d174176afb9538ba921c3c47a3c049da8efc16
diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php @@ -34,6 ...
disable server:run cmd without Process component
symfony_symfony
train
php
a947ea9db06b3b81ce058627284937c8dbb01e2b
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -73,7 +73,16 @@ author = u'Jonathan Karr' # built documents. # # The short X.Y version. -from unitth._version import __version__ as version +import re +filename = os.path.join(os.path.dirname(__file__), ".."...
fixing sphinx config for Read the Docs
KarrLab_unitth
train
py
eeaf29b7009028d8ba9fa761d2ad6f46529628cc
diff --git a/src/Ontraport.php b/src/Ontraport.php index <HASH>..<HASH> 100644 --- a/src/Ontraport.php +++ b/src/Ontraport.php @@ -95,6 +95,11 @@ class Ontraport return $client->httpRequest($requestParams, $url, $method, $requiredParams, $options); } + /** + * @brief gets the last HTTP status cod...
Missed a function doctag the first time.
Ontraport_SDK-PHP
train
php
2dae6f137ce0dff29faa30ba9d9ed32aacaee7e6
diff --git a/entity-cache.js b/entity-cache.js index <HASH>..<HASH> 100644 --- a/entity-cache.js +++ b/entity-cache.js @@ -263,7 +263,15 @@ function entity_cache(options) { ++stats.net_miss self.log.debug('miss', 'net', key) - return reply() + return load_prior.call(self, msg, function...
cache not found if key found should rehydrate cache
rjrodger_seneca-vcache
train
js,js
2375c87a162f6191b9046f90af21f70aa53af602
diff --git a/src/angular-opbeat.js b/src/angular-opbeat.js index <HASH>..<HASH> 100644 --- a/src/angular-opbeat.js +++ b/src/angular-opbeat.js @@ -1,7 +1,7 @@ var Opbeat = require('./opbeat') var wrap = function (fn, before, after) { - return function () { + return function opbeatInstrumentationWrapper () { ...
Give instrumentation wrapping method a name, so give better traces
opbeat_opbeat-react
train
js
de47366b9b29fba4d8b6d0d6384a06ceb035534d
diff --git a/eng/tox/install_depend_packages.py b/eng/tox/install_depend_packages.py index <HASH>..<HASH> 100644 --- a/eng/tox/install_depend_packages.py +++ b/eng/tox/install_depend_packages.py @@ -33,7 +33,8 @@ MINIMUM_VERSION_SUPPORTED_OVERRIDE = { 'six': '1.9', 'typing-extensions': '3.6.5', 'opentele...
bump azure core min dep (#<I>)
Azure_azure-sdk-for-python
train
py
74994a014c455226d7fe9a8ac089d2c806a88c38
diff --git a/template/js/ClassTree.js b/template/js/ClassTree.js index <HASH>..<HASH> 100644 --- a/template/js/ClassTree.js +++ b/template/js/ClassTree.js @@ -9,6 +9,7 @@ Ext.define('Docs.ClassTree', { renderTo: 'treePanel', folderSort: true, useArrows: true, + rootVisible: false, height: Ext.c...
Hide 'Api Documentation' root folder in class tree
senchalabs_jsduck
train
js
b4084c44e2de1497f6eac501f7a8600911aacf82
diff --git a/src/Sylius/Bundle/ThemeBundle/Templating/TemplateNameParser.php b/src/Sylius/Bundle/ThemeBundle/Templating/TemplateNameParser.php index <HASH>..<HASH> 100644 --- a/src/Sylius/Bundle/ThemeBundle/Templating/TemplateNameParser.php +++ b/src/Sylius/Bundle/ThemeBundle/Templating/TemplateNameParser.php @@ -77,7 ...
Replace regexp with plain string operation
Sylius_Sylius
train
php
f46ffc2aefebefd5a601569674e09029029c3f37
diff --git a/src/org/jgroups/protocols/raft/LevelDBLog.java b/src/org/jgroups/protocols/raft/LevelDBLog.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/raft/LevelDBLog.java +++ b/src/org/jgroups/protocols/raft/LevelDBLog.java @@ -394,7 +394,7 @@ public class LevelDBLog implements Log { } ...
fix validation in LevelDBLog#checkForConsistency Scenario: 1) Cluster starts up, and one or more entries are appended via method #append. This causes currentTerm and lastAppendedEntry.term to be equal 2) Cluster stops 3) Cluster starts up again, and during leader-election, a new term is negotiated and stored ( without...
belaban_jgroups-raft
train
java
2c46dd5b4e6cde92135f52888741a0a82fee06e3
diff --git a/course/teacher.php b/course/teacher.php index <HASH>..<HASH> 100644 --- a/course/teacher.php +++ b/course/teacher.php @@ -7,7 +7,7 @@ $id = required_param('id',PARAM_INT); // course id $add = optional_param('add', '', PARAM_INT); - $remove = optional_param('remove', '', PARAM_ALPHA);...
wrong type for remove, should be an int, it is an id
moodle_moodle
train
php
cd6d9f288e454906e6aa59b11c8023dcde3df523
diff --git a/src/widget.js b/src/widget.js index <HASH>..<HASH> 100644 --- a/src/widget.js +++ b/src/widget.js @@ -168,8 +168,8 @@ } - this.setUserAdress = function(addr){ - widget.userAdress = addr; + this.setUserAddress = function(addr){ + widget.userAddress = addr; } }; @@ -221,11 ...
missing params in widget event handlers
remotestorage_remotestorage.js
train
js
39f941c771d723ace1fb9cfe167ad6389a934fff
diff --git a/core/cruncher.go b/core/cruncher.go index <HASH>..<HASH> 100644 --- a/core/cruncher.go +++ b/core/cruncher.go @@ -8,6 +8,9 @@ import ( type Cruncher struct { } -func (cruncher *Cruncher) Run() { +func (cruncher *Cruncher) Run(port int) { + spew.Dump("Cruncher.Run") + spew.Dump(port) + } diff -...
push port from config file into Cruncher.Run()
pilosa_pilosa
train
go,go
f7ad993f756a2e875be4aaa495e4ff2c97dd94be
diff --git a/common/vr/common/repo.py b/common/vr/common/repo.py index <HASH>..<HASH> 100644 --- a/common/vr/common/repo.py +++ b/common/vr/common/repo.py @@ -118,7 +118,11 @@ class Repo(object): elif self.vcs_type == 'git': # NOTE: We don't need the url for git b/c the pull ...
Use `git fetch` rather than `git pull` to avoid a merge. All VR wants is to checkout the code coresponding to a certain revision, not merge master on top of the currently checked-out revision.
yougov_vr.common
train
py
0b5f5c0de01ab6fcb7f426d62ec3b201b6083ef8
diff --git a/auth/ldap/lib.php b/auth/ldap/lib.php index <HASH>..<HASH> 100644 --- a/auth/ldap/lib.php +++ b/auth/ldap/lib.php @@ -1246,7 +1246,8 @@ function auth_ldap_isgroupmember ($username='', $groupdns='') { } //echo "Checking group $group for member $username\n"; $search = @ldap_read($l...
Some old fix, that wasn't checked in
moodle_moodle
train
php
6840cf696560bd6119295422a2a70d97e6284261
diff --git a/web/concrete/blocks/image_slider/controller.php b/web/concrete/blocks/image_slider/controller.php index <HASH>..<HASH> 100644 --- a/web/concrete/blocks/image_slider/controller.php +++ b/web/concrete/blocks/image_slider/controller.php @@ -158,6 +158,10 @@ class Controller extends BlockController publ...
Avoid accessing undefined array indexes during installation Former-commit-id: <I>be<I>dc<I>fa<I>f<I>cd<I>e7f<I>a<I>e4a Former-commit-id: aaf5f3d<I>dea<I>a5c<I>d2d<I>b<I>da3d2
concrete5_concrete5
train
php