aspiers / aspiers/git-deps

git-deps -e or --exclude-commits still shows cherry-picked commits

Open
#53 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
319
Forks
55
PR merge metrics
No merged PRs in 30d

Description

git-deps -r -e test_branch dbde0abe, shows

dbde0abe 7a4c5de2
dbde0abe fa77dcfa
fa77dcfa fd034a84
fa77dcfa 813e5727

Even though 'test' branch has the commit 'fa77dcfa' cherry-picked from master,

commit d14423fe
Author: Test
Date: Mon Apr 11 19:11:04 2011 -0400

Test
(cherry picked from commit fa77dcfa)

git-deps will show in the list of dependent commit.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `git-deps -r -e test_branch dbde0abe` case with a cherry-picked commit, then trace the CLI path handling `-e` and the dependency graph. Confirm that the cherry-picked commit is excluded from the reported dependencies while ordinary dependencies remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.