Git Product home page Git Product logo

Comments (3)

charleso avatar charleso commented on August 22, 2024

Hi Kiates,

This is one of worse error handling in my gitcc code. The problem is that the rebase error is masking the real error. Go in to rebase.py and comment out the try/finally lines (but leave the logic) in doCommit and let it fail so we can see what's really going on.

Charles

from git-cc.

kiates avatar kiates commented on August 22, 2024

Charles,

Thanks for the help. I commented out the exception blocks, but didn't get any more information. I was able to sprinkle some print statements around to trace where the error was occurring, and it was during the call to add the .gitcc file. In this repository the .gitignore file was set to ignore the .gitcc file and I think there must be an error coming back from git during that call.

Running the command by hand also confirms that git would reject it:

$ git add .gitcc
The following paths are ignored by one of your .gitignore files:
.gitcc
Use -f if you really want to add them.
fatal: no files added

I've wondered if the .gitcc file really needed to be checked in. Do you have an explanation of when and how it is used. What are the ramifications of it not being accurate, say I changed the config spec on the clearcase view or something.

Thanks again, and thank your for a very useful tool.

Chad

from git-cc.

charleso avatar charleso commented on August 22, 2024

Hi Chad,

The .gitcc file was originally intended to help with working out if a given commit should be added to this changeset based on previous merges. There are some very tricky corner cases that I couldn't deal with any other way. It isn't mandatory, and you can disable it by adding the following to .git/gitcc:

[core]
cache = False

I hope that helps.

Charles

from git-cc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.