{"thread":{"id":"28518","subject":"Merge seems to overwrite unstaged local changes","startedAt":"2011-09-28T14:08:15Z","lastAt":"2012-01-10T14:08:38Z","messageCount":6,"participants":["Sebastian Schuberth","Junio C Hamano","Jakub Narebski","Chris Hatton"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"176408","messageId":"j5v9r7$fi1$1@dough.gmane.org","threadId":"28518","inReplyTo":null,"subject":"Merge seems to overwrite unstaged local changes","fromName":"Sebastian Schuberth","fromEmail":"sschuberth@gmail.com","sentAt":"2011-09-28T14:08:15Z","receivedAt":"2011-09-28T14:08:15Z","isPatch":false,"sender":{"key":"sschuberth@gmail.com","avatar":"https://avatars.githubusercontent.com/u/349154?v=4"},"body":"Hi,\n\nalthough it is good practice to have a clean working tree before pulling / merging, my understanding of\n\n\"In particular, the local modifications you had before you started merge will stay the same and the index entries for them stay as they were, i.e. matching HEAD.\"\n\nfrom [1] is that my local unstaged changes to a file known to Git should not get lost during a merge (especially if there a no conflicts in the file that's modified locally).\n\nIt seems I can reproduce a case where this is not true. Here's what I do:\n\n# Checkout a branch\n$ git co -b marianne 45e0d23bf1a6bf62e3317a691385e0f1a7b279ea\n\n$ git status\n# On branch marianne\nnothing to commit (working directory clean)\n\n$ git log --oneline hxprofile1d/HxComputeProfileAlongAxis.cpp\n45e0d23 hxprofile1d: [Fix] errors according to move of files\n3509d94 hxprofile1d: moved files from package hxneuralnetwork to hxprofile1d\n\n# Add some stuff to the end of the existing file.\n$ vim hxprofile1d/HxComputeProfileAlongAxis.cpp\n\n$ git status\n# On branch marianne\n# Changes not staged for commit:\n#   (use \"git add <file>...\" to update what will be committed)\n#   (use \"git checkout -- <file>...\" to discard changes in working directory)\n#\n#       modified:   hxprofile1d/HxComputeProfileAlongAxis.cpp\n#\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\n$ git merge 569e443faf5ae773af1c8eedfefa41ebfd066171\nRemoving cgal/BuildCGAL.sh\nAuto-merging hxcortexinsilico/QxCorticalColumnTool.cpp\nAuto-merging hxcortexinsilico/QxCorticalColumnTool.h\nRemoving hxneuralnetwork/QxAddFilesDialog.cpp\nRemoving hxneuralnetwork/QxAddFilesDialog.h\nRemoving hxneuralnetwork/QxAddFilesDialogUI.ui\nAuto-merging hxneuralnetwork/SelectionPredicateCellTypeIsTest.cpp\nRemoving hxneuralnetwork/SelectionPredicateHasCellTypeName.cpp\nRemoving hxneuralnetwork/SelectionPredicateHasCellTypeName.h\nRemoving hxneuralnetwork/SelectionPredicateHasCellTypeNameTest.h\nAuto-merging hxneuralnetwork/share/resources/hxneuralnetwork.rc\nAuto-merging hxneuralnetwork/share/resources/test_hxneuralnetwork.rc\nAuto-merging hxneuronkernels/HxLandmarksInSurface.h\nAuto-merging hxneuronkernels/MeasurementFunctions.h\nMerge made by recursive.\n cgal/BuildCGAL.sh                                  |  153 ----\n cgal/BuildCGALforLinux.sh                          |   94 ++\n cgal/Package                                       |   11 +-\n hx2d3drecon/Reg2d3dFunctionalEdgeNormal.cpp        |    5 +-\n .../ConnectEndNodesToSomaOperationSet.cpp          |    0\n .../ConnectEndNodesToSomaOperationSet.h            |    0\n hxcortexinsilico/Package                           |   27 +\n .../QxCorticalColumnTool.cpp                       |    5 +-\n .../QxCorticalColumnTool.h                         |   10 +-\n .../QxCorticalColumnTool.ui                        |    0\n hxcortexinsilico/hxcortexinsilicoAPI.h             |   14 +\n .../share/png/CorticalColumnTool.png               |  Bin 326 -> 326 bytes\n .../share/resources/hxcortexinsilico.rc            |    9 +\n hxcrosscorrelation/CCR.cpp                         |  415 +++++++++\n hxcrosscorrelation/CCR.h                           |  111 +++\n hxcrosscorrelation/CCR_hollowCylinder.cpp          |  209 +++++\n hxcrosscorrelation/CCR_hollowCylinder.h            |   80 ++\n hxcrosscorrelation/CCR_hollowSphere.cpp            |  164 ++++\n hxcrosscorrelation/CCR_hollowSphere.h              |   69 ++\n hxcrosscorrelation/CCR_plane.cpp                   |  196 ++++\n hxcrosscorrelation/CCR_plane.h                     |   77 ++\n hxcrosscorrelation/CCR_rotation.cpp                |  131 +++\n hxcrosscorrelation/CCR_rotation.h                  |   64 ++\n hxcrosscorrelation/CCR_scale.cpp                   |   59 ++\n hxcrosscorrelation/CCR_scale.h                     |   55 ++\n hxcrosscorrelation/CCR_solidCylinder.cpp           |  197 ++++\n hxcrosscorrelation/CCR_solidCylinder.h             |   76 ++\n hxcrosscorrelation/CCR_solidSphere.cpp             |  153 ++++\n hxcrosscorrelation/CCR_solidSphere.h               |   66 ++\n hxcrosscorrelation/CrossCorrelation.cpp            |  442 +++++++++\n hxcrosscorrelation/CrossCorrelation.h              |  103 +++\n hxcrosscorrelation/CrossCorrelation_cuda.cu        |  208 +++++\n hxcrosscorrelation/DataSplitter.cpp                |  339 +++++++\n hxcrosscorrelation/DataSplitter.h                  |   85 ++\n hxcrosscorrelation/HxCCRShow.cpp                   |   79 ++\n hxcrosscorrelation/HxCCRShow.h                     |   50 +\n hxcrosscorrelation/HxCrossCorrelation.cpp          |  316 +++++++\n hxcrosscorrelation/HxCrossCorrelation.h            |   81 ++\n hxcrosscorrelation/HxDataToSpreadsheet.cpp         |  100 ++\n hxcrosscorrelation/HxDataToSpreadsheet.h           |   58 ++\n hxcrosscorrelation/HxHollowCylinderToCCR.cpp       |  199 ++++\n hxcrosscorrelation/HxHollowCylinderToCCR.h         |   61 ++\n hxcrosscorrelation/HxHollowSphereToCCR.cpp         |  148 +++\n hxcrosscorrelation/HxHollowSphereToCCR.h           |   59 ++\n hxcrosscorrelation/HxPlaneToCCR.cpp                |  166 ++++\n hxcrosscorrelation/HxPlaneToCCR.h                  |   60 ++\n .../HxReferenceIndicesToData_scalar.cpp            |   84 ++\n .../HxReferenceIndicesToData_scalar.h              |   49 +\n .../HxReferenceIndicesToData_vector.cpp            |   88 ++\n .../HxReferenceIndicesToData_vector.h              |   50 +\n hxcrosscorrelation/HxSolidCylinderToCCR.cpp        |  194 ++++\n hxcrosscorrelation/HxSolidCylinderToCCR.h          |   61 ++\n hxcrosscorrelation/HxSolidSphereToCCR.cpp          |  143 +++\n hxcrosscorrelation/HxSolidSphereToCCR.h            |   59 ++\n hxcrosscorrelation/Package                         |    7 +\n hxcrosscorrelation/doc/HxCCRShow.doc               |   29 +\n .../doc/HxCCRShow_selectReference.png              |  Bin 0 -> 2071 bytes\n hxcrosscorrelation/doc/HxCrossCorrelation.doc      |   65 ++\n .../doc/HxCrossCorrelation_GPUDevice.png           |  Bin 0 -> 2327 bytes\n .../doc/HxCrossCorrelation_GPUMemory.png           |  Bin 0 -> 1956 bytes\n .../doc/HxCrossCorrelation_blockSize.png           |  Bin 0 -> 2012 bytes\n .../doc/HxCrossCorrelation_nrBlocks.png            |  Bin 0 -> 2149 bytes\n .../doc/HxCrossCorrelation_timerThreshold.png      |  Bin 0 -> 1404 bytes\n hxcrosscorrelation/doc/HxDataToSpreadSheet.doc     |   30 +\n .../doc/HxDataToSpreadSheet_threshold.png          |  Bin 0 -> 1296 bytes\n hxcrosscorrelation/doc/HxHollowCylinderToCCR.doc   |  123 +++\n .../HxHollowCylinderToCCR_cylinderParameter.png    |  Bin 0 -> 4826 bytes\n .../doc/HxHollowCylinderToCCR_defineForeground.png |  Bin 0 -> 4561 bytes\n .../doc/HxHollowCylinderToCCR_defineForground.png  |  Bin 0 -> 1918 bytes\n .../doc/HxHollowCylinderToCCR_increment.png        |  Bin 0 -> 2800 bytes\n .../doc/HxHollowCylinderToCCR_maskParameter.png    |  Bin 0 -> 4708 bytes\n .../doc/HxHollowCylinderToCCR_options.png          |  Bin 0 -> 4923 bytes\n .../doc/HxHollowCylinderToCCR_psiRange.png         |  Bin 0 -> 3649 bytes\n .../doc/HxHollowCylinderToCCR_smoothing.png        |  Bin 0 -> 2483 bytes\n .../doc/HxHollowCylinderToCCR_thetaRange.png       |  Bin 0 -> 3660 bytes\n .../doc/HxHollowCylinderToCCR_tiltAngles.png       |  Bin 0 -> 3577 bytes\n .../doc/HxHollowCylinderToCCR_tiltAxis.png         |  Bin 0 -> 2909 bytes\n .../doc/HxHollowCylinderToCCR_tiltType.png         |  Bin 0 -> 3667 bytes\n .../doc/HxHollowCylinderToCCR_voxelSize.png        |  Bin 0 -> 3218 bytes\n hxcrosscorrelation/doc/HxHollowSphereToCCR.doc     |   94 ++\n .../doc/HxHollowSphereToCCR_defineForground.png    |  Bin 0 -> 1918 bytes\n .../doc/HxHollowSphereToCCR_increment.png          |  Bin 0 -> 1406 bytes\n .../doc/HxHollowSphereToCCR_options.png            |  Bin 0 -> 2335 bytes\n .../doc/HxHollowSphereToCCR_scaleRange.png         |  Bin 0 -> 1773 bytes\n .../doc/HxHollowSphereToCCR_smoothing.png          |  Bin 0 -> 1255 bytes\n .../doc/HxHollowSphereToCCR_sphereParameter.png    |  Bin 0 -> 1977 bytes\n .../doc/HxHollowSphereToCCR_tiltAngles.png         |  Bin 0 -> 1810 bytes\n .../doc/HxHollowSphereToCCR_tiltAxis.png           |  Bin 0 -> 1831 bytes\n .../doc/HxHollowSphereToCCR_tiltType.png           |  Bin 0 -> 2018 bytes\n .../doc/HxHollowSphereToCCR_voxelSize.png          |  Bin 0 -> 1331 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR.doc            |  105 +++\n .../doc/HxPlaneToCCR_defineForground.png           |  Bin 0 -> 1918 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_increment.png  |  Bin 0 -> 1406 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_options.png    |  Bin 0 -> 2335 bytes\n .../doc/HxPlaneToCCR_planeParameter.png            |  Bin 0 -> 2574 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_psiRange.png   |  Bin 0 -> 1728 bytes\n .../doc/HxPlaneToCCR_subdivision.png               |  Bin 0 -> 1255 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_thetaRange.png |  Bin 0 -> 1748 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_tiltAngles.png |  Bin 0 -> 1810 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_tiltAxis.png   |  Bin 0 -> 1831 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_tiltType.png   |  Bin 0 -> 2018 bytes\n hxcrosscorrelation/doc/HxPlaneToCCR_voxelSize.png  |  Bin 0 -> 1331 bytes\n .../doc/HxReferenceIndicesToData_scalar.doc        |   27 +\n .../doc/HxReferenceIndicesToData_vector.doc        |   28 +\n hxcrosscorrelation/doc/HxSolidCylinderToCCR.doc    |  121 +++\n .../doc/HxSolidCylinderToCCR_cylinderParameter.png |  Bin 0 -> 4867 bytes\n .../doc/HxSolidCylinderToCCR_defineForeground.png  |  Bin 0 -> 4561 bytes\n .../doc/HxSolidCylinderToCCR_defineForground.png   |  Bin 0 -> 1918 bytes\n .../doc/HxSolidCylinderToCCR_increment.png         |  Bin 0 -> 2800 bytes\n .../doc/HxSolidCylinderToCCR_maskParameter.png     |  Bin 0 -> 4769 bytes\n .../doc/HxSolidCylinderToCCR_options.png           |  Bin 0 -> 4923 bytes\n .../doc/HxSolidCylinderToCCR_psiRange.png          |  Bin 0 -> 3649 bytes\n .../doc/HxSolidCylinderToCCR_smoothing.png         |  Bin 0 -> 2483 bytes\n .../doc/HxSolidCylinderToCCR_thetaRange.png        |  Bin 0 -> 3660 bytes\n .../doc/HxSolidCylinderToCCR_tiltAngles.png        |  Bin 0 -> 3577 bytes\n .../doc/HxSolidCylinderToCCR_tiltAxis.png          |  Bin 0 -> 2909 bytes\n .../doc/HxSolidCylinderToCCR_tiltType.png          |  Bin 0 -> 3667 bytes\n .../doc/HxSolidCylinderToCCR_voxelSize.png         |  Bin 0 -> 3218 bytes\n hxcrosscorrelation/doc/HxSolidSphereToCCR.doc      |   93 ++\n .../doc/HxSolidSphereToCCR_defineForground.png     |  Bin 0 -> 1918 bytes\n .../doc/HxSolidSphereToCCR_increment.png           |  Bin 0 -> 1406 bytes\n .../doc/HxSolidSphereToCCR_options.png             |  Bin 0 -> 2335 bytes\n .../doc/HxSolidSphereToCCR_scaleRange.png          |  Bin 0 -> 1773 bytes\n .../doc/HxSolidSphereToCCR_smoothing.png           |  Bin 0 -> 1255 bytes\n .../doc/HxSolidSphereToCCR_sphereParameter.png     |  Bin 0 -> 1699 bytes\n .../doc/HxSolidSphereToCCR_tiltAngles.png          |  Bin 0 -> 1810 bytes\n .../doc/HxSolidSphereToCCR_tiltAxis.png            |  Bin 0 -> 1831 bytes\n .../doc/HxSolidSphereToCCR_tiltType.png            |  Bin 0 -> 2018 bytes\n .../doc/HxSolidSphereToCCR_voxelSize.png           |  Bin 0 -> 1331 bytes\n hxcrosscorrelation/hxcrosscorrelationWinDLLAPI.h   |   19 +\n .../share/resources/hxcrosscorrelation.rc          |   74 ++\n .../script-objects/TraceFilamentsAndFilter.scro    |   82 ++-\n hxlineextraction/HxAngularDistribution.cpp         |  272 ++++++\n hxlineextraction/HxAngularDistribution.h           |   75 ++\n hxlineextraction/HxExtractLines.cpp                |  951 ++++++++++++++++++++\n hxlineextraction/HxExtractLines.h                  |  239 +++++\n hxlineextraction/HxLinesetToSpreadSheet.cpp        |  100 ++\n hxlineextraction/HxLinesetToSpreadSheet.h          |   51 ++\n hxlineextraction/Package                           |   10 +\n hxlineextraction/doc/HxAngularDistribution.doc     |   17 +\n hxlineextraction/doc/HxExtractLines.doc            |  122 +++\n hxlineextraction/doc/HxExtractLines_.png           |  Bin 0 -> 153 bytes\n .../doc/HxExtractLines_advancedMenu.png            |  Bin 0 -> 1465 bytes\n .../doc/HxExtractLines_cocircularity.png           |  Bin 0 -> 2227 bytes\n .../doc/HxExtractLines_coneAutoParameter.png       |  Bin 0 -> 1908 bytes\n hxlineextraction/doc/HxExtractLines_distance.png   |  Bin 0 -> 2006 bytes\n .../doc/HxExtractLines_getLabelFields.png          |  Bin 0 -> 2483 bytes\n hxlineextraction/doc/HxExtractLines_linearity.png  |  Bin 0 -> 2081 bytes\n hxlineextraction/doc/HxExtractLines_maskRadius.png |  Bin 0 -> 1486 bytes\n .../doc/HxExtractLines_minCorrelation.png          |  Bin 0 -> 2287 bytes\n .../doc/HxExtractLines_minLineLength.png           |  Bin 0 -> 1450 bytes\n hxlineextraction/doc/HxExtractLines_radius.png     |  Bin 0 -> 1355 bytes\n hxlineextraction/doc/HxExtractLines_scale.png      |  Bin 0 -> 1387 bytes\n .../doc/HxExtractLines_searchConeAngle.png         |  Bin 0 -> 1613 bytes\n .../doc/HxExtractLines_searchConeSize.png          |  Bin 0 -> 1710 bytes\n .../doc/HxExtractLines_similThreshold.png          |  Bin 0 -> 2172 bytes\n .../doc/HxExtractLines_similarityFactors.png       |  Bin 0 -> 2628 bytes\n .../doc/HxExtractLines_timerThreshold.png          |  Bin 0 -> 1972 bytes\n hxlineextraction/doc/HxLineSetToSpreadSheet.doc    |   17 +\n hxlineextraction/hxlineextractionWinDLLAPI.h       |   19 +\n .../share/resources/hxlineextraction.rc            |   17 +\n hxneuralnetwork/ASTToQueryVisitor.cpp              |   55 +-\n hxneuralnetwork/ASTToQueryVisitor.h                |   12 +-\n hxneuralnetwork/ASTVisitorTest.cpp                 |   54 +-\n hxneuralnetwork/ASTVisitorTest.h                   |    9 +-\n hxneuralnetwork/AbstractSyntaxTree.cpp             |   55 +-\n hxneuralnetwork/AbstractSyntaxTree.h               |   35 +-\n hxneuralnetwork/AbstractSyntaxTreeVisitor.h        |   10 +-\n hxneuralnetwork/HxCreateMorphologyGallery.cpp      |  199 +++--\n hxneuralnetwork/HxCreateMorphologyGallery.h        |   30 +-\n hxneuralnetwork/HxNeuralNetworkAnalyzer.cpp        |   75 ++-\n hxneuralnetwork/HxNeuralNetworkAnalyzer.h          |   14 +-\n hxneuralnetwork/HxNeuralNetworkAnalyzerTest.cpp    |    2 +-\n hxneuralnetwork/HxNeuralNetworkSubApp.cpp          |   14 +-\n hxneuralnetwork/HxNeuronDistributorTest.cpp        |   10 +-\n hxneuralnetwork/MorphologyManager.cpp              |   64 +-\n hxneuralnetwork/MorphologyManager.h                |   11 +-\n hxneuralnetwork/MorphologyManagerTest.cpp          |   37 +-\n hxneuralnetwork/MorphologyManagerTest.h            |    1 +\n hxneuralnetwork/NeuralNetworkDSLParser.l           |   10 +-\n hxneuralnetwork/NeuralNetworkDSLParser.y           |   84 ++-\n hxneuralnetwork/NeuralNetworkDSLParserTest.cpp     |   33 +-\n hxneuralnetwork/NeuralNetworkDSLParserTest.h       |   11 +-\n hxneuralnetwork/Package                            |    3 -\n hxneuralnetwork/PrintASTVisitor.cpp                |   27 +-\n hxneuralnetwork/PrintASTVisitor.h                  |    9 +-\n hxneuralnetwork/QxAddFilesDialog.cpp               |   55 --\n hxneuralnetwork/QxAddFilesDialog.h                 |   30 -\n hxneuralnetwork/QxAddFilesDialogUI.ui              |   85 --\n hxneuralnetwork/SelectionPredicateCellTypeIs.cpp   |   42 +\n hxneuralnetwork/SelectionPredicateCellTypeIs.h     |   24 +\n ...st.cpp => SelectionPredicateCellTypeIsTest.cpp} |   11 +-\n hxneuralnetwork/SelectionPredicateCellTypeIsTest.h |   18 +\n .../SelectionPredicateHasCellTypeName.cpp          |   27 -\n .../SelectionPredicateHasCellTypeName.h            |   21 -\n .../SelectionPredicateHasCellTypeNameTest.h        |   18 -\n hxneuralnetwork/SelectionPredicateTreeNode.cpp     |   21 +-\n hxneuralnetwork/SelectionPredicateTreeNode.h       |   16 +-\n hxneuralnetwork/SelectionQuery.cpp                 |   26 +-\n hxneuralnetwork/SelectionQuery.h                   |   25 +-\n hxneuralnetwork/SelectionQueryExecutor.cpp         |   73 ++-\n hxneuralnetwork/SelectionQueryExecutorTest.cpp     |   73 ++-\n hxneuralnetwork/SelectionQueryExecutorTest.h       |    6 +-\n hxneuralnetwork/SelectionQueryManager.cpp          |    2 +-\n hxneuralnetwork/SelectionQueryResult.cpp           |   13 +\n hxneuralnetwork/SelectionQueryResult.h             |    4 +\n hxneuralnetwork/TestHelpers.cpp                    |   16 +-\n hxneuralnetwork/share/resources/hxneuralnetwork.rc |   17 -\n .../share/resources/test_hxneuralnetwork.rc        |    2 +-\n .../HxLandmarksInSurface.cpp                       |    0\n .../HxLandmarksInSurface.h                         |    4 +-\n .../MeasurementFunctions.cpp                       |    0\n .../MeasurementFunctions.h                         |    4 +-\n hxneuronkernels/Package                            |    1 +\n hxneuronkernels/share/resources/hxneuronkernels.rc |    5 +\n hxoptimizeactiveshape2/GlobalOptimizeFunc.cpp      |  435 ++++++++--\n hxoptimizeactiveshape2/GlobalOptimizeFunc.h        |   51 +-\n hxoptimizeactiveshape2/GridSamples.cpp             |    2 +-\n hxoptimizeactiveshape2/HxGlobalOptimize.cpp        |    8 +-\n hxoptimizeactiveshape2/HxTestParameters.cpp        |    4 +-\n hxrabbitct/HxRabbitCTRunner.cpp                    |   54 +-\n hxrabbitct/HxRabbitCTRunner.h                      |    5 +-\n hxrabbitct/Package                                 |    2 -\n hxscanconvert/Bresenham.cpp                        |  152 ++++\n hxscanconvert/Bresenham.h                          |   31 +\n hxscanconvert/HxScanConvert.cpp                    |  202 +++++\n hxscanconvert/HxScanConvert.h                      |   83 ++\n hxscanconvert/HxScanConvertCylinder.cpp            |  110 +++\n hxscanconvert/HxScanConvertCylinder.h              |   37 +\n hxscanconvert/HxScanConvertCylinderHollow.cpp      |  165 ++++\n hxscanconvert/HxScanConvertCylinderHollow.h        |   37 +\n hxscanconvert/HxScanConvertPlane.cpp               |  111 +++\n hxscanconvert/HxScanConvertPlane.h                 |   37 +\n hxscanconvert/HxScanConvertSphere.cpp              |   97 ++\n hxscanconvert/HxScanConvertSphere.h                |   36 +\n hxscanconvert/HxScanConvertSphereHollow.cpp        |  155 ++++\n hxscanconvert/HxScanConvertSphereHollow.h          |   36 +\n hxscanconvert/Package                              |   10 +\n hxscanconvert/ScanConvert.cpp                      |  477 ++++++++++\n hxscanconvert/ScanConvert.h                        |  125 +++\n hxscanconvert/ScanConvertCylinder.cpp              |  159 ++++\n hxscanconvert/ScanConvertCylinder.h                |   51 ++\n hxscanconvert/ScanConvertPlane.cpp                 |   99 ++\n hxscanconvert/ScanConvertPlane.h                   |   56 ++\n hxscanconvert/ScanConvertSphere.cpp                |   76 ++\n hxscanconvert/ScanConvertSphere.h                  |   49 +\n hxscanconvert/hxscanconvertWinDLLAPI.h             |   19 +\n hxscanconvert/share/resources/hxscanconvert.rc     |   24 +\n .../HxSetSpatialGraphInterfaceImpl.cpp             |    2 +-\n hxspatialgraphset/HxSetSpatialGraphInterfaceImpl.h |    2 +-\n hxspatialgraphset/HxSpatialGraphSet.cpp            |    4 +-\n hxspatialgraphset/HxSpatialGraphSet.h              |    4 +-\n hxspatialgraphset/HxSpatialGraphSetLegend.cpp      |   45 +-\n hxspatialgraphset/HxSpatialGraphSetLegend.h        |    3 +-\n hxspatialgraphset/HxSpatialGraphSetView.cpp        |   92 ++-\n hxspatialgraphset/HxSpatialGraphSetView.h          |   15 +-\n .../QxSpatialGraphSetViewSelectionDialog.cpp       |   43 +-\n hxtemplatematching/HxRadonTransform.cpp            |    4 +-\n hxtensor3d/HxExtractTensorSlice.cpp                |   92 ++-\n hxtensor3d/HxExtractTensorSlice.h                  |    9 +\n hxtensor3d/HxStructureTensor.cpp                   |    4 +-\n hxtensor3dSegmentation/Package                     |    2 +-\n hxtensordisplay/HxTensorGlyphDisplay.cpp           |  418 +++++++++\n hxtensordisplay/HxTensorGlyphDisplay.h             |  132 +++\n hxtensordisplay/Package                            |   37 +-\n hxtensordisplay/share/resources/hxtensordisplay.rc |    6 +\n .../hxtensordisplay/HxTensorGlyphDisplay-Frag.glsl |   69 ++\n .../hxtensordisplay/HxTensorGlyphDisplay-Geom.glsl |  154 ++++\n .../HxTensorGlyphDisplay-Vertex.glsl               |  293 ++++++\n hxtensordisplay2d/HxTensorGlyphDisplay2D.cpp       |  151 ++--\n hxtensordisplay2d/HxTensorGlyphDisplay2D.h         |   54 +-\n hxtomtools/HxAverageSlices.cpp                     |  114 +++\n hxtomtools/HxAverageSlices.h                       |   61 ++\n hxtomtools/HxRemoveSmallSurfaces.cpp               |  247 +++++\n hxtomtools/HxRemoveSmallSurfaces.h                 |   73 ++\n hxtomtools/Package                                 |   10 +\n hxtomtools/doc/HxAverageSlices.doc                 |   27 +\n hxtomtools/doc/HxAverageSlices_numSlices.png       |  Bin 0 -> 1603 bytes\n hxtomtools/doc/HxRemoveSmallSurfaces.doc           |   28 +\n .../doc/HxRemoveSmallSurfaces_surfaceSize.png      |  Bin 0 -> 1614 bytes\n hxtomtools/hxtomtoolsWinDLLAPI.h                   |   19 +\n hxtomtools/share/resources/hxtomtools.rc           |   11 +\n 282 files changed, 14158 insertions(+), 1084 deletions(-)\n delete mode 100755 cgal/BuildCGAL.sh\n create mode 100755 cgal/BuildCGALforLinux.sh\n rename {hxneuralnetwork => hxcortexinsilico}/ConnectEndNodesToSomaOperationSet.cpp (100%)\n rename {hxneuralnetwork => hxcortexinsilico}/ConnectEndNodesToSomaOperationSet.h (100%)\n create mode 100644 hxcortexinsilico/Package\n rename {hxneuralnetwork => hxcortexinsilico}/QxCorticalColumnTool.cpp (99%)\n rename {hxneuralnetwork => hxcortexinsilico}/QxCorticalColumnTool.h (96%)\n rename {hxneuralnetwork => hxcortexinsilico}/QxCorticalColumnTool.ui (100%)\n create mode 100644 hxcortexinsilico/hxcortexinsilicoAPI.h\n rename {hxneuralnetwork => hxcortexinsilico}/share/png/CorticalColumnTool.png (100%)\n create mode 100644 hxcortexinsilico/share/resources/hxcortexinsilico.rc\n create mode 100644 hxcrosscorrelation/CCR.cpp\n create mode 100644 hxcrosscorrelation/CCR.h\n create mode 100644 hxcrosscorrelation/CCR_hollowCylinder.cpp\n create mode 100644 hxcrosscorrelation/CCR_hollowCylinder.h\n create mode 100644 hxcrosscorrelation/CCR_hollowSphere.cpp\n create mode 100644 hxcrosscorrelation/CCR_hollowSphere.h\n create mode 100644 hxcrosscorrelation/CCR_plane.cpp\n create mode 100644 hxcrosscorrelation/CCR_plane.h\n create mode 100644 hxcrosscorrelation/CCR_rotation.cpp\n create mode 100644 hxcrosscorrelation/CCR_rotation.h\n create mode 100644 hxcrosscorrelation/CCR_scale.cpp\n create mode 100644 hxcrosscorrelation/CCR_scale.h\n create mode 100644 hxcrosscorrelation/CCR_solidCylinder.cpp\n create mode 100644 hxcrosscorrelation/CCR_solidCylinder.h\n create mode 100644 hxcrosscorrelation/CCR_solidSphere.cpp\n create mode 100644 hxcrosscorrelation/CCR_solidSphere.h\n create mode 100644 hxcrosscorrelation/CrossCorrelation.cpp\n create mode 100644 hxcrosscorrelation/CrossCorrelation.h\n create mode 100644 hxcrosscorrelation/CrossCorrelation_cuda.cu\n create mode 100644 hxcrosscorrelation/DataSplitter.cpp\n create mode 100644 hxcrosscorrelation/DataSplitter.h\n create mode 100644 hxcrosscorrelation/HxCCRShow.cpp\n create mode 100644 hxcrosscorrelation/HxCCRShow.h\n create mode 100644 hxcrosscorrelation/HxCrossCorrelation.cpp\n create mode 100644 hxcrosscorrelation/HxCrossCorrelation.h\n create mode 100644 hxcrosscorrelation/HxDataToSpreadsheet.cpp\n create mode 100644 hxcrosscorrelation/HxDataToSpreadsheet.h\n create mode 100644 hxcrosscorrelation/HxHollowCylinderToCCR.cpp\n create mode 100644 hxcrosscorrelation/HxHollowCylinderToCCR.h\n create mode 100644 hxcrosscorrelation/HxHollowSphereToCCR.cpp\n create mode 100644 hxcrosscorrelation/HxHollowSphereToCCR.h\n create mode 100644 hxcrosscorrelation/HxPlaneToCCR.cpp\n create mode 100644 hxcrosscorrelation/HxPlaneToCCR.h\n create mode 100644 hxcrosscorrelation/HxReferenceIndicesToData_scalar.cpp\n create mode 100644 hxcrosscorrelation/HxReferenceIndicesToData_scalar.h\n create mode 100644 hxcrosscorrelation/HxReferenceIndicesToData_vector.cpp\n create mode 100644 hxcrosscorrelation/HxReferenceIndicesToData_vector.h\n create mode 100644 hxcrosscorrelation/HxSolidCylinderToCCR.cpp\n create mode 100644 hxcrosscorrelation/HxSolidCylinderToCCR.h\n create mode 100644 hxcrosscorrelation/HxSolidSphereToCCR.cpp\n create mode 100644 hxcrosscorrelation/HxSolidSphereToCCR.h\n create mode 100644 hxcrosscorrelation/Package\n create mode 100644 hxcrosscorrelation/doc/HxCCRShow.doc\n create mode 100644 hxcrosscorrelation/doc/HxCCRShow_selectReference.png\n create mode 100644 hxcrosscorrelation/doc/HxCrossCorrelation.doc\n create mode 100644 hxcrosscorrelation/doc/HxCrossCorrelation_GPUDevice.png\n create mode 100644 hxcrosscorrelation/doc/HxCrossCorrelation_GPUMemory.png\n create mode 100644 hxcrosscorrelation/doc/HxCrossCorrelation_blockSize.png\n create mode 100644 hxcrosscorrelation/doc/HxCrossCorrelation_nrBlocks.png\n create mode 100644 hxcrosscorrelation/doc/HxCrossCorrelation_timerThreshold.png\n create mode 100644 hxcrosscorrelation/doc/HxDataToSpreadSheet.doc\n create mode 100644 hxcrosscorrelation/doc/HxDataToSpreadSheet_threshold.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR.doc\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_cylinderParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_defineForeground.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_defineForground.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_increment.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_maskParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_options.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_psiRange.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_smoothing.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_thetaRange.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_tiltAngles.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_tiltAxis.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_tiltType.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowCylinderToCCR_voxelSize.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR.doc\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_defineForground.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_increment.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_options.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_scaleRange.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_smoothing.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_sphereParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_tiltAngles.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_tiltAxis.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_tiltType.png\n create mode 100644 hxcrosscorrelation/doc/HxHollowSphereToCCR_voxelSize.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR.doc\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_defineForground.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_increment.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_options.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_planeParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_psiRange.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_subdivision.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_thetaRange.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_tiltAngles.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_tiltAxis.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_tiltType.png\n create mode 100644 hxcrosscorrelation/doc/HxPlaneToCCR_voxelSize.png\n create mode 100644 hxcrosscorrelation/doc/HxReferenceIndicesToData_scalar.doc\n create mode 100644 hxcrosscorrelation/doc/HxReferenceIndicesToData_vector.doc\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR.doc\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_cylinderParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_defineForeground.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_defineForground.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_increment.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_maskParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_options.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_psiRange.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_smoothing.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_thetaRange.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_tiltAngles.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_tiltAxis.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_tiltType.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidCylinderToCCR_voxelSize.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR.doc\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_defineForground.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_increment.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_options.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_scaleRange.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_smoothing.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_sphereParameter.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_tiltAngles.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_tiltAxis.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_tiltType.png\n create mode 100644 hxcrosscorrelation/doc/HxSolidSphereToCCR_voxelSize.png\n create mode 100644 hxcrosscorrelation/hxcrosscorrelationWinDLLAPI.h\n create mode 100644 hxcrosscorrelation/share/resources/hxcrosscorrelation.rc\n create mode 100644 hxlineextraction/HxAngularDistribution.cpp\n create mode 100644 hxlineextraction/HxAngularDistribution.h\n create mode 100644 hxlineextraction/HxExtractLines.cpp\n create mode 100644 hxlineextraction/HxExtractLines.h\n create mode 100644 hxlineextraction/HxLinesetToSpreadSheet.cpp\n create mode 100644 hxlineextraction/HxLinesetToSpreadSheet.h\n create mode 100644 hxlineextraction/Package\n create mode 100644 hxlineextraction/doc/HxAngularDistribution.doc\n create mode 100644 hxlineextraction/doc/HxExtractLines.doc\n create mode 100644 hxlineextraction/doc/HxExtractLines_.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_advancedMenu.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_cocircularity.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_coneAutoParameter.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_distance.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_getLabelFields.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_linearity.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_maskRadius.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_minCorrelation.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_minLineLength.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_radius.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_scale.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_searchConeAngle.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_searchConeSize.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_similThreshold.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_similarityFactors.png\n create mode 100644 hxlineextraction/doc/HxExtractLines_timerThreshold.png\n create mode 100644 hxlineextraction/doc/HxLineSetToSpreadSheet.doc\n create mode 100644 hxlineextraction/hxlineextractionWinDLLAPI.h\n create mode 100644 hxlineextraction/share/resources/hxlineextraction.rc\n delete mode 100644 hxneuralnetwork/QxAddFilesDialog.cpp\n delete mode 100644 hxneuralnetwork/QxAddFilesDialog.h\n delete mode 100644 hxneuralnetwork/QxAddFilesDialogUI.ui\n create mode 100644 hxneuralnetwork/SelectionPredicateCellTypeIs.cpp\n create mode 100644 hxneuralnetwork/SelectionPredicateCellTypeIs.h\n rename hxneuralnetwork/{SelectionPredicateHasCellTypeNameTest.cpp => SelectionPredicateCellTypeIsTest.cpp} (66%)\n create mode 100644 hxneuralnetwork/SelectionPredicateCellTypeIsTest.h\n delete mode 100644 hxneuralnetwork/SelectionPredicateHasCellTypeName.cpp\n delete mode 100644 hxneuralnetwork/SelectionPredicateHasCellTypeName.h\n delete mode 100644 hxneuralnetwork/SelectionPredicateHasCellTypeNameTest.h\n rename {hxneuralnetwork => hxneuronkernels}/HxLandmarksInSurface.cpp (100%)\n rename {hxneuralnetwork => hxneuronkernels}/HxLandmarksInSurface.h (92%)\n rename {hxneuralnetwork => hxneuronkernels}/MeasurementFunctions.cpp (100%)\n rename {hxneuralnetwork => hxneuronkernels}/MeasurementFunctions.h (83%)\n create mode 100644 hxscanconvert/Bresenham.cpp\n create mode 100644 hxscanconvert/Bresenham.h\n create mode 100644 hxscanconvert/HxScanConvert.cpp\n create mode 100644 hxscanconvert/HxScanConvert.h\n create mode 100644 hxscanconvert/HxScanConvertCylinder.cpp\n create mode 100644 hxscanconvert/HxScanConvertCylinder.h\n create mode 100644 hxscanconvert/HxScanConvertCylinderHollow.cpp\n create mode 100644 hxscanconvert/HxScanConvertCylinderHollow.h\n create mode 100644 hxscanconvert/HxScanConvertPlane.cpp\n create mode 100644 hxscanconvert/HxScanConvertPlane.h\n create mode 100644 hxscanconvert/HxScanConvertSphere.cpp\n create mode 100644 hxscanconvert/HxScanConvertSphere.h\n create mode 100644 hxscanconvert/HxScanConvertSphereHollow.cpp\n create mode 100644 hxscanconvert/HxScanConvertSphereHollow.h\n create mode 100644 hxscanconvert/Package\n create mode 100644 hxscanconvert/ScanConvert.cpp\n create mode 100644 hxscanconvert/ScanConvert.h\n create mode 100644 hxscanconvert/ScanConvertCylinder.cpp\n create mode 100644 hxscanconvert/ScanConvertCylinder.h\n create mode 100644 hxscanconvert/ScanConvertPlane.cpp\n create mode 100644 hxscanconvert/ScanConvertPlane.h\n create mode 100644 hxscanconvert/ScanConvertSphere.cpp\n create mode 100644 hxscanconvert/ScanConvertSphere.h\n create mode 100644 hxscanconvert/hxscanconvertWinDLLAPI.h\n create mode 100644 hxscanconvert/share/resources/hxscanconvert.rc\n create mode 100644 hxtensordisplay/HxTensorGlyphDisplay.cpp\n create mode 100644 hxtensordisplay/HxTensorGlyphDisplay.h\n create mode 100644 hxtensordisplay/share/shaders/hxtensordisplay/HxTensorGlyphDisplay-Frag.glsl\n create mode 100644 hxtensordisplay/share/shaders/hxtensordisplay/HxTensorGlyphDisplay-Geom.glsl\n create mode 100644 hxtensordisplay/share/shaders/hxtensordisplay/HxTensorGlyphDisplay-Vertex.glsl\n create mode 100644 hxtomtools/HxAverageSlices.cpp\n create mode 100644 hxtomtools/HxAverageSlices.h\n create mode 100644 hxtomtools/HxRemoveSmallSurfaces.cpp\n create mode 100644 hxtomtools/HxRemoveSmallSurfaces.h\n create mode 100644 hxtomtools/Package\n create mode 100644 hxtomtools/doc/HxAverageSlices.doc\n create mode 100644 hxtomtools/doc/HxAverageSlices_numSlices.png\n create mode 100644 hxtomtools/doc/HxRemoveSmallSurfaces.doc\n create mode 100644 hxtomtools/doc/HxRemoveSmallSurfaces_surfaceSize.png\n create mode 100644 hxtomtools/hxtomtoolsWinDLLAPI.h\n create mode 100644 hxtomtools/share/resources/hxtomtools.rc\n\n$ git status\n# On branch marianne\nnothing to commit (working directory clean)\n\nDo, although there were no conflicts during the merge, and the merge does not seem to touch hxprofile1d/HxComputeProfileAlongAxis.cpp, the local changes in that file are gone. I'm seeing this on Linux and Windows, with versions 1.7.4.3 and 1.7.6.\n\nI'd say this is not expected, or am I missing something?\n\n[1] http://manpages.ubuntu.com/manpages/oneiric/man1/git-merge.1.html\n\n-- \nSebastian Schuberth\n"},{"id":"176424","messageId":"7vaa9o1yf7.fsf@alter.siamese.dyndns.org","threadId":"28518","inReplyTo":"j5v9r7$fi1$1@dough.gmane.org","subject":"Re: Merge seems to overwrite unstaged local changes","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-09-28T15:25:48Z","receivedAt":"2011-09-28T15:25:48Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Sebastian Schuberth <sschuberth@gmail.com> writes:\n\n> ... I'm seeing this on Linux and Windows, with versions 1.7.4.3 and 1.7.6.\n\nThere recently have been quite a change in merge-recursive implementation\nand it would be really nice if you can try this again with the tip of\n'master' before 1.7.7 final ships.\n\nThanks.\n"},{"id":"176483","messageId":"CAHGBnuNrhtyq1tfok3p9YHAVbfo9T7BO3ZOUy+8YvNE9Mmhjhg@mail.gmail.com","threadId":"28518","inReplyTo":"7vaa9o1yf7.fsf@alter.siamese.dyndns.org","subject":"Re: Merge seems to overwrite unstaged local changes","fromName":"Sebastian Schuberth","fromEmail":"sschuberth@gmail.com","sentAt":"2011-09-29T13:07:13Z","receivedAt":"2011-09-29T13:07:13Z","isPatch":false,"sender":{"key":"sschuberth@gmail.com","avatar":"https://avatars.githubusercontent.com/u/349154?v=4"},"body":"On Wed, Sep 28, 2011 at 17:25, Junio C Hamano <gitster@pobox.com> wrote:\n\n>> ... I'm seeing this on Linux and Windows, with versions 1.7.4.3 and 1.7.6.\n>\n> There recently have been quite a change in merge-recursive implementation\n> and it would be really nice if you can try this again with the tip of\n> 'master' before 1.7.7 final ships.\n\nThe unstaged changes do not seem to get lost during the merge anymore\nwhen using git version 1.7.7.rc3.4.g8d714 on Linux. I guess that\nsomewhat confirms that there's a bug in git < 1.7.7. I'll write a word\nof warning to our in-house git users that they should always commit\nbefore merging ...\n\n-- \nSebastian Schuberth\n"},{"id":"177024","messageId":"4E8DACCC.2050302@gmail.com","threadId":"28518","inReplyTo":"CAHGBnuNrhtyq1tfok3p9YHAVbfo9T7BO3ZOUy+8YvNE9Mmhjhg@mail.gmail.com","subject":"Re: Merge seems to overwrite unstaged local changes","fromName":"Sebastian Schuberth","fromEmail":"sschuberth@gmail.com","sentAt":"2011-10-06T13:27:40Z","receivedAt":"2011-10-06T13:27:40Z","isPatch":false,"sender":{"key":"sschuberth@gmail.com","avatar":"https://avatars.githubusercontent.com/u/349154?v=4"},"body":"On 29.09.2011 15:07, Sebastian Schuberth wrote:\n\n>> There recently have been quite a change in merge-recursive implementation\n>> and it would be really nice if you can try this again with the tip of\n>> 'master' before 1.7.7 final ships.\n>\n> The unstaged changes do not seem to get lost during the merge anymore\n> when using git version 1.7.7.rc3.4.g8d714 on Linux. I guess that\n> somewhat confirms that there's a bug in git<  1.7.7. I'll write a word\n> of warning to our in-house git users that they should always commit\n> before merging ...\n\nIt seems I'm not the only one who lost code due to this bug. For a more \ndetailed analysis see this blog post:\n\nhttp://benno.id.au/blog/2011/10/01/git-recursive-merge-broken\n\nAs it turns out, my use case also involves a rename of the file in which \nchanges were lost. And just like for the blog's author it somewhat \nconcerns me and shakes my confidence in Git for how long this severe bug \nslipped through undetected.\n\n-- \nSebastian Schuberth\n"},{"id":"177035","messageId":"m3zkhe16bu.fsf@localhost.localdomain","threadId":"28518","inReplyTo":"4E8DACCC.2050302@gmail.com","subject":"Re: Merge seems to overwrite unstaged local changes","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2011-10-06T15:35:59Z","receivedAt":"2011-10-06T15:35:59Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Sebastian Schuberth <sschuberth@gmail.com> writes:\n> On 29.09.2011 15:07, Sebastian Schuberth wrote:\n> \n>>> There recently have been quite a change in merge-recursive implementation\n>>> and it would be really nice if you can try this again with the tip of\n>>> 'master' before 1.7.7 final ships.\n>>\n>> The unstaged changes do not seem to get lost during the merge anymore\n>> when using git version 1.7.7.rc3.4.g8d714 on Linux. I guess that\n>> somewhat confirms that there's a bug in git<  1.7.7. I'll write a word\n>> of warning to our in-house git users that they should always commit\n>> before merging ...\n> \n> It seems I'm not the only one who lost code due to this bug. For a\n> more detailed analysis see this blog post:\n> \n> http://benno.id.au/blog/2011/10/01/git-recursive-merge-broken\n> \n> As it turns out, my use case also involves a rename of the file in\n> which changes were lost. And just like for the blog's author it\n> somewhat concerns me and shakes my confidence in Git for how long this\n> severe bug slipped through undetected.\n\nKhmmm... perhaps Mercurial was right in its transaction-based\natomicity (that allows to safely merge even if there are local\nchanges; not theough that I have doubts if it is sane behavior)\n;-)\n\nI wonder if it would be possible to get some Comp. Sci. student, or\ngraduate, or postdoc, to analyse formally the recursive merge\nalgorithm.  And to *prove* that it is correct (or not).\n\n-- \nJakub Narębski\n"},{"id":"182238","messageId":"loom.20120110T150742-201@post.gmane.org","threadId":"28518","inReplyTo":"m3zkhe16bu.fsf@localhost.localdomain","subject":"Another casualty","fromName":"Chris Hatton","fromEmail":"christopherhattonuk@gmail.com","sentAt":"2012-01-10T14:08:38Z","receivedAt":"2012-01-10T14:08:38Z","isPatch":false,"sender":{"key":"christopherhattonuk@gmail.com","avatar":null},"body":"3 hours-worth of work just got whacked by this bug. Unimpressed :-(\n\nCould have been worse I suppose. Thanks for the confirmation.\n\n<Goes to update Git>\n"}]}