Comments (3)
This could be related: http://stackoverflow.com/questions/13198823/reverting-an-invalid-git-merge#comment18088150_13199102
from git-integration.
Digging in a bit, it seems to fail at git commit-tree
++ git commit-tree -p 32017b5390e155bb2fc4873a230127dddf316175 5d66d8047bc1e712ef3adf461a7a4da3a3d4cfb5 fatal: Not a valid object name -p
Here's a full `-x' output of the shell script:
mjs@hotel:~/prj/celos$ git integration --edit --rebuild + GIT_INTEGRATION_VERSION=0.1-36-gdbd6576 + test --edit = --version + type git-sh-setup + SUBDIRECTORY_OK=Yes + OPTIONS_KEEPDASHDASH= + OPTIONS_SPEC='git integration --create [] git integration [...] [] git integration (--continue | --abort) -- Actions: create! create a new integration branch edit! edit the instruction sheet for a branch rebuild rebuild an integration branch cat! show the instruction sheet for a branch status! show the status of a branch abort! abort an in-progress rebuild continue! continue an in-progress rebuild Inline actions: add= appends a '\''merge '\'' line to the instruction sheet Options: autocontinue continues automatically if rerere resolves all conflicts prefix= apply a prefix to each branch name when processing it version! print the version of git-integration ' + . git-sh-setup ++ unset CDPATH ++ GIT_QUIET= ++ test -n 'git integration --create [] git integration [...] [] git integration (--continue | --abort) -- Actions: create! create a new integration branch edit! edit the instruction sheet for a branch rebuild rebuild an integration branch cat! show the instruction sheet for a branch status! show the status of a branch abort! abort an in-progress rebuild continue! continue an in-progress rebuild Inline actions: add= appends a '\''merge '\'' line to the instruction sheet Options: autocontinue continues automatically if rerere resolves all conflicts prefix= apply a prefix to each branch name when processing it version! print the version of git-integration ' ++ parseopt_extra= ++ '[' -n '' ']' +++ echo 'git integration --create [] git integration [...] [] git integration (--continue | --abort) -- Actions: create! create a new integration branch edit! edit the instruction sheet for a branch rebuild rebuild an integration branch cat! show the instruction sheet for a branch status! show the status of a branch abort! abort an in-progress rebuild continue! continue an in-progress rebuild Inline actions: add= appends a '\''merge '\'' line to the instruction sheet Options: autocontinue continues automatically if rerere resolves all conflicts prefix= apply a prefix to each branch name when processing it version! print the version of git-integration ' +++ git rev-parse --parseopt -- --edit --rebuild ++ eval 'set -- --edit --rebuild --' +++ set -- --edit --rebuild -- ++ test -z '' +++ git rev-parse --git-dir ++ GIT_DIR=.git ++ '[' -z Yes ']' ++ test -n .git +++ cd .git +++ pwd ++ GIT_DIR=/home/mjs/prj/celos/.git ++ : /home/mjs/prj/celos/.git/objects ++ case $(uname -s) in +++ uname -s + set_reflog_action integration + '[' -z '' ']' + GIT_REFLOG_ACTION=integration + export GIT_REFLOG_ACTION + require_work_tree_exists ++ git rev-parse --is-bare-repository + test zfalse '!=' zfalse + cd_to_toplevel ++ git rev-parse --show-toplevel + cdup=/home/mjs/prj/celos + cd /home/mjs/prj/celos + test -n '' + LF=' ' + _x40=00000 + _x40=0000000000000000000000000000000000000000 ++ cut -c1 ++ git config --get core.commentchar + comment_char= + : '#' ++ git config --bool integration.autocontinue + autocontinue= + : false ++ git config --get integration.prefix + branch_prefix= + state_dir=/home/mjs/prj/celos/.git/integration + start_file=/home/mjs/prj/celos/.git/integration/start-point + head_file=/home/mjs/prj/celos/.git/integration/head-name + merged_file=/home/mjs/prj/celos/.git/integration/merged + prefix_file=/home/mjs/prj/celos/.git/integration/prefix + insns=/home/mjs/prj/celos/.git/integration/git-integration-insn + action= + do_create=0 + do_edit=0 + do_rebuild=auto + do_cat=0 + do_status=0 + branches_to_add= + need_rebuild=0 + total_argc=3 + test 3 '!=' 0 + case "$1" in + do_edit=1 + need_rebuild=1 + shift + test 2 '!=' 0 + case "$1" in + do_rebuild=1 + shift + test 1 '!=' 0 + case "$1" in + shift + break + test -n '' + case $action in + test -f /home/mjs/prj/celos/.git/integration/git-integration-insn + test -n '' + test 0 = 1 + test 1 = 1 + branch= + test 0 = 1 + test 0 = 0 ++ git symbolic-ref HEAD + branch=refs/heads/manuel_2013-12-17_integration ++ integration_ref refs/heads/manuel_2013-12-17_integration ++ local branch ++ branch=manuel_2013-12-17_integration ++ echo refs/insns/manuel_2013-12-17_integration + git rev-parse --quiet --verify refs/insns/manuel_2013-12-17_integration + test 0 = 0 + test 1 = 1 + integration_edit refs/heads/manuel_2013-12-17_integration 1 '' + branch=refs/heads/manuel_2013-12-17_integration + manual_edit=1 + append_branches= ++ integration_ref refs/heads/manuel_2013-12-17_integration ++ local branch ++ branch=manuel_2013-12-17_integration ++ echo refs/insns/manuel_2013-12-17_integration + ref=refs/insns/manuel_2013-12-17_integration + edit_file=/home/mjs/prj/celos/.git/GIT-INTEGRATION-INSN + git rev-parse --quiet --verify refs/insns/manuel_2013-12-17_integration + git cat-file blob refs/insns/manuel_2013-12-17_integration:GIT-INTEGRATION-INSN + test -n '' + echo + git stripspace --comment-lines usage: git stripspace [-s | --strip-comments] < input + test 1 '!=' 0 + git_editor /home/mjs/prj/celos/.git/GIT-INTEGRATION-INSN + test -z '' ++ git var GIT_EDITOR + GIT_EDITOR=editor + eval editor '"$@"' ++ editor /home/mjs/prj/celos/.git/GIT-INTEGRATION-INSN + cat /home/mjs/prj/celos/.git/GIT-INTEGRATION-INSN + write_insn_sheet refs/insns/manuel_2013-12-17_integration + local ref parent insn_blob insn_tree op insn_commit + ref=refs/insns/manuel_2013-12-17_integration + git stripspace --strip-comments ++ git rev-parse --quiet --verify refs/insns/manuel_2013-12-17_integration + parent=32017b5390e155bb2fc4873a230127dddf316175 ++ git rev-parse --quiet --verify 'refs/insns/manuel_2013-12-17_integration^{tree}' + parent_tree=624c2360085c3b665e69ea35576006090fff6c41 ++ git hash-object -w --stdin + insn_blob=8037fe083b12acfc9caf35f77be4d522b1733f70 ++ printf '100644 blob %s\t%s\n' 8037fe083b12acfc9caf35f77be4d522b1733f70 GIT-INTEGRATION-INSN ++ git mktree + insn_tree=2e5d1f7479231e61bdd4ea2f50efe1f29ddf1179 + test 2e5d1f7479231e61bdd4ea2f50efe1f29ddf1179 = 624c2360085c3b665e69ea35576006090fff6c41 + op=Update + : Update ++ echo 'Update integration branch refs/heads/manuel_2013-12-17_integration' ++ git commit-tree -p 32017b5390e155bb2fc4873a230127dddf316175 2e5d1f7479231e61bdd4ea2f50efe1f29ddf1179 fatal: Not a valid object name -p + insn_commit= + die 'Failed to write instruction sheet commit' + die_with_status 1 'Failed to write instruction sheet commit' + status=1 + shift + echo 'Failed to write instruction sheet commit' Failed to write instruction sheet commit + exit 1 + exit
from git-integration.
You need to use Git 1.8.2 or later because earlier versions do not support the --comment-lines
option to git stripspace
. I have a pending change to detect this and provide a nicer error message on my check-git-version branch.
from git-integration.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-integration.