Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dundee/gdu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.30.1
Choose a base ref
...
head repository: dundee/gdu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.31.0
Choose a head ref
  • 11 commits
  • 36 files changed
  • 8 contributors

Commits on Dec 30, 2024

  1. ci: update gdu.spec

    dundee committed Dec 30, 2024
    Configuration menu
    Copy the full SHA
    dbd586f View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2025

  1. docs: fix typos (#397)

    * docs: fix typos
    
    found via `codespell -H` and `typos --hidden --format brief`
    
    * docs: better wording
    
    ---------
    
    Co-authored-by: Daniel Milde <daniel@milde.cz>
    kianmeng and dundee authored Jan 1, 2025
    Configuration menu
    Copy the full SHA
    c67b451 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2025

  1. feat: relative path ignore support (#398)

    * feat: support relative paths in ignore-dirs flag
    
    * feat: support relative paths in ignore patterns
    
    * revert: remove path conversion in ShouldDirBeIgnored
    s0up4200 authored Jan 16, 2025
    Configuration menu
    Copy the full SHA
    5bb1e09 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2025

  1. Configuration menu
    Copy the full SHA
    a0fd828 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2025

  1. feat: Add support showing size of absent git-annex'ed files (#404)

    * feat: Add support showing size of absent git-annex'ed files
    
    git-annex encodes the apparent size of files their symlinks.
    
    gdu now is capable of extracting those sizes from the broken symlinks to calculate the total size of git-annex repositories.
    
    Note: real usage remains zero. gdu needs to be invoked via:
        gdu --follow-symlinks --show-apparent-size --show-annexed-size
    
    * test: fix mock
    
    * fix: lint check
    
    * fix: use EvalSymlinks to get proper path
    
    * fix: use both EvalSymlinks and Readlink
    
    * fix: Do not shadow variable
    
    * test: cover annex logic
    
    * test: cover follow symlink errors
    
    * test: fix
    
    * test: cover app
    
    ---------
    
    Co-authored-by: Daniel Milde <daniel@milde.cz>
    stv0g and dundee authored Mar 25, 2025
    Configuration menu
    Copy the full SHA
    8e4a346 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2025

  1. Configuration menu
    Copy the full SHA
    b105795 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2025

  1. Configuration menu
    Copy the full SHA
    0f356ad View commit details
    Browse the repository at this point in the history

Commits on May 27, 2025

  1. fix: item count for --show-item-count (#416)

    * WIP: Fix item count for --show-item-count (Issue #412) - Row display adjusted
    
    This is a partial fix for issue #412 where `gdu --show-item-count`
    incorrectly includes the directory itself in its item count.
    
    Changes made so far:
    - I investigated the analyzer logic (`pkg/analyze/*`) and determined that
      `Dir.ItemCount` is intentionally inclusive of the directory itself due
      to internal uses (e.g., ignored directories).
    - I shifted the fix to the TUI layer to adjust the count only for display
      purposes when `--show-item-count` is active.
    - I modified `tui/format.go` in the `formatFileRow` function:
      - If `ui.showItemCount` is true and the item is a directory, the
        displayed item count for that row is now `item.GetItemCount() - 1`.
      - Files continue to display their item count as is (0).
    
    Pending work:
    - I will modify `tui/show.go` to adjust the total item count displayed in the
      footer similarly.
    - I will re-add and adjust `TestItemCount` in `pkg/analyze/dir_test.go` to
      assert the corrected user-facing item counts.
    - I will run all tests to ensure correctness.
    
    * fix: fmt
    
    ---------
    
    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
    dundee and google-labs-jules[bot] authored May 27, 2025
    Configuration menu
    Copy the full SHA
    22789af View commit details
    Browse the repository at this point in the history

Commits on May 29, 2025

  1. Configuration menu
    Copy the full SHA
    98923a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2025

  1. fix: automatically run non-interactive when related flag set (#418)

    * fix: automatically run non-interactive when related flag set
    
    * fix: small starting letter for error messages
    
    * fix: pass istty to be testable
    dundee authored Jun 5, 2025
    Configuration menu
    Copy the full SHA
    60af956 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2025

  1. docs: man update

    dundee committed Jun 6, 2025
    Configuration menu
    Copy the full SHA
    347ce99 View commit details
    Browse the repository at this point in the history
Loading